Search found 150 matches

by martindholmes
Thu Jul 02, 2020 8:21 pm
Forum: Common Problems
Topic: Schema link in doc type association failing on Windows
Replies: 8
Views: 318

Re: Schema link in doc type association failing on Windows

Thanks Adrian. I'm going to try turning off all other document type associations in the project settings. Note that we don't have a framework; we just use the project XPR file to configure this stuff. There were quite a few other document type associations checked, presumably by default. If that doe...
by martindholmes
Thu Jul 02, 2020 1:34 am
Forum: Common Problems
Topic: Schema link in doc type association failing on Windows
Replies: 8
Views: 318

Re: Schema link in doc type association failing on Windows

There is no such rule. I've never used XML catalogs in any of my projects, and I don't imagine I ever would. Something else must be happening here. Do you have any other suggestions?
by martindholmes
Tue Jun 30, 2020 6:17 pm
Forum: Common Problems
Topic: Schema link in doc type association failing on Windows
Replies: 8
Views: 318

Re: Schema link in doc type association failing on Windows

It's build 2020061102. We have nothing weird like catalog at all. In Options / XML / XML Catalog, everything is (I assume) at the default settings; we've never needed to change anything there before. But the default settings include these items being checked: Resolve schema locations through system ...
by martindholmes
Mon Jun 29, 2020 9:33 pm
Forum: Common Problems
Topic: Schema link in doc type association failing on Windows
Replies: 8
Views: 318

Schema link in doc type association failing on Windows

Hi there, We have a document type association setup where we have a Schema link specified like this: ${pdu}/data/sch/lemdo.rng This works fine on Linux and Mac, but on some Windows machines we get this error: "Validation unit was not applied because schema location is not a valid URL: C:\Users\xyz\l...
by martindholmes
Mon Jun 15, 2020 5:33 pm
Forum: Common Problems
Topic: Weird autocomplete bug in v 22.0
Replies: 7
Views: 344

Re: Weird autocomplete bug in v 22.0

Is it in today's release? I don't see anything specific in the release notes, although the first item looks a bit similar.
by martindholmes
Thu May 21, 2020 5:01 pm
Forum: Common Problems
Topic: Weird autocomplete bug in v 22.0
Replies: 7
Views: 344

Re: Weird autocomplete bug in v 22.0

Please tell me this is fixed in 22.1!
by martindholmes
Thu May 07, 2020 9:06 pm
Forum: Common Problems
Topic: Weird autocomplete bug in v 22.0
Replies: 7
Views: 344

Re: Weird autocomplete bug in v 22.0

I'd really appreciate a fix for this. It's driving me nuts. :-)
by martindholmes
Wed Mar 25, 2020 9:28 pm
Forum: Other Issues
Topic: This forum's position:fixed navbar
Replies: 1
Views: 177

This forum's position:fixed navbar

Could you please turn off position: fixed in the forum navigation bar? It breaks all the fragment links since the target is invisible under the navbar, and it hides features at the top of the page.
by martindholmes
Wed Mar 25, 2020 8:10 pm
Forum: Common Problems
Topic: Weird autocomplete bug in v 22.0
Replies: 7
Views: 344

Re: Weird autocomplete bug in v 22.0

Can anyone else confirm this? It's REALLY annoying, so I've had to turn off content completion for XPath, which is a drag. This is on Ubuntu 18.04.4, using the Oxygen bundled with OpenJDK.
by martindholmes
Tue Mar 24, 2020 5:59 pm
Forum: Common Problems
Topic: Weird autocomplete bug in v 22.0
Replies: 7
Views: 344

Weird autocomplete bug in v 22.0

Hi there, In 22.0, build 2020030607, working in Text mode on XSLT with master files enabled, I'm seeing a very weird and quite annoying autocomplete bug. I have a single accumulator named "lineCount" defined in the master file: <xsl:accumulator as="xs:integer" initial-value="0" name="lineCount"> <xs...
by martindholmes
Tue Sep 17, 2019 7:20 pm
Forum: Common Problems
Topic: NVDL validation
Replies: 1
Views: 201

NVDL validation

Hi there, Using recent releases of the Jing jar file, we're finding that NVDL validation fails with error messages related to parsing of Schematron and namespaces. However, when we do the same validation in Oxygen, we don't see those errors, so it seems likely that Oxygen is passing some flag to Jin...
by martindholmes
Fri May 24, 2019 6:15 pm
Forum: Common Problems
Topic: Code template no longer working after update to 21.1
Replies: 3
Views: 605

Re: Code template no longer working after update to 21.1

Hi Alex,

If it's as simple as dropping a new version of a jar file in the lib folder, then please do send it along (mholmes@uvic.ca). Otherwise, I'm happy to wait for the next release.

All the best,
Martin
by martindholmes
Thu May 23, 2019 7:59 pm
Forum: Common Problems
Topic: Code template no longer working after update to 21.1
Replies: 3
Views: 605

Code template no longer working after update to 21.1

Hi there, I have a bunch of code templates that look like this: <title level="a">${xpath_eval(replace('${selection}', '[“”]+', ''))}</title> which were working OK, but having just upgraded to 21.1, they don't seem to be working; nothing happens when I hit the keystroke sequence defined for the templ...
by martindholmes
Mon May 06, 2019 1:47 am
Forum: Common Problems
Topic: Has Saxon changed in the Oxygen lib dir, breaking plugins?
Replies: 4
Views: 982

Re: Has Saxon changed in the Oxygen lib dir, breaking plugins?

Hi Radu, Our problem is that the schemas and stylesheets are all interdependent, so both validation and transformation scenarios would have to be updated. The whole thing is a bit difficult to disentangle. I think we're going to stop supporting versions before 18.1, and use the wildcard approach. Th...
by martindholmes
Sat Apr 06, 2019 2:41 am
Forum: SDK-API, Frameworks - Document Types
Topic: JSOperation API issues
Replies: 3
Views: 764

Re: JSOperation API issues

You're absolutely right. But with the JS I can write code and test it on any old machine, whereas I need a Java build environment to use Java. I always find it painful to get Eclipse set up for Java work and I tend to avoid it if I can. It would be neat if there were a docker container all pre-confi...
by martindholmes
Sat Apr 06, 2019 12:35 am
Forum: SDK-API, Frameworks - Document Types
Topic: Author mode CSS: any way to do this?
Replies: 5
Views: 938

Re: Author mode CSS: any way to do this?

Looking at the AuthorCaretListener, I'm going to have to instantiate it when the editor is activated, of course. Is there any way to do this through a Document Type configuration in JavaScript, as I can do with regular Author actions, or will this have to be done through a plugin? It looks as though...
by martindholmes
Fri Apr 05, 2019 10:54 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Author mode CSS: any way to do this?
Replies: 5
Views: 938

Re: Author mode CSS: any way to do this?

Ah! I hadn't noticed that. I guess I should be able to use it with a caret listener to highlight ranges when the caret hits an anchor.

Thanks indeed,
Martin
by martindholmes
Fri Apr 05, 2019 1:15 am
Forum: SDK-API, Frameworks - Document Types
Topic: JSOperation API issues
Replies: 3
Views: 764

Re: JSOperation API issues

Figured it out. I don't need to cast the findNodesByXPath result to an array.
by martindholmes
Fri Apr 05, 2019 1:05 am
Forum: SDK-API, Frameworks - Document Types
Topic: JSOperation API issues
Replies: 3
Views: 764

JSOperation API issues

HI there, I'm working on creating actions using the JSOperation functionality, and encountering some problems calling API functions. Here's some example code: function doOperation() { var selText = authorAccess.getEditorAccess().getSelectedText(); var documentController = authorAccess.getDocumentCon...
by martindholmes
Thu Apr 04, 2019 8:32 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Author mode CSS: any way to do this?
Replies: 5
Views: 938

Author mode CSS: any way to do this?

Hi all, This may be an impossible goal, but it's worth asking: I have documents which are tagged in stand-off mode, using anchor elements, like this: ...This discussion covers <anchor next="#v2j_ht4_1hb" ana="e:institution" />institutional repositories<anchor xml:id="v2j_ht4_1hb"/> and library suppo...
by martindholmes
Wed Apr 03, 2019 6:53 pm
Forum: SDK-API, Frameworks - Document Types
Topic: JavaScript doOperation() in Doc type action
Replies: 3
Views: 742

Re: JavaScript doOperation() in Doc type action

Works perfectly! Thank you so much.

Cheers,
Martin
by martindholmes
Wed Apr 03, 2019 2:07 am
Forum: SDK-API, Frameworks - Document Types
Topic: JavaScript doOperation() in Doc type action
Replies: 3
Views: 742

Re: JavaScript doOperation() in Doc type action

If I use surroundInFragment I get the same result: an extra space before the closing tag.
by martindholmes
Wed Apr 03, 2019 1:41 am
Forum: SDK-API, Frameworks - Document Types
Topic: JavaScript doOperation() in Doc type action
Replies: 3
Views: 742

JavaScript doOperation() in Doc type action

Hi there, I'm writing Author actions using the Document Type Author Action configuration, and finding a couple of oddities. First, an extra space is inserted following the closing tag of the element I insert; and secondly, the compound edit functionality seems to be failing (nothing happens when I u...
by martindholmes
Tue Apr 02, 2019 2:49 am
Forum: SDK-API, Frameworks - Document Types
Topic: Add-ons packager plugin?
Replies: 2
Views: 654

Re: Add-ons packager plugin?

The second page URL should be: https://www.oxygenxml.com/doc/versions/21.0/ug-editor/topics/packing-and-deploying-addons.html These pages: https://www.oxygenxml.com/doc/versions/21.0/ug-editor/topics/packing-and-deploying-plugins-as-addons.html https://www.oxygenxml.com/doc/versions/21.0/ug-editor/t...
by martindholmes
Tue Apr 02, 2019 2:48 am
Forum: SDK-API, Frameworks - Document Types
Topic: Add-ons packager plugin?
Replies: 2
Views: 654

Add-ons packager plugin?

These pages: https://www.oxygenxml.com/doc/versions/21.0/ug-editor/topics/packing-and-deploying-plugins-as-addons.html https://www.oxygenxml.com/doc/versions/21.0/ug-editor/topics/packing-and-deploying-plugins-as-addons.html refer to an Add-ons Packager Plugin, but it doesn't seem to be available wh...
by martindholmes
Tue Mar 26, 2019 6:13 pm
Forum: Common Problems
Topic: Has Saxon changed in the Oxygen lib dir, breaking plugins?
Replies: 4
Views: 982

Re: Has Saxon changed in the Oxygen lib dir, breaking plugins?

Hi Radu,

I'll let Council know and ask them again what they want to do about the plugin and support for older versions.

Cheers,
Martin
by martindholmes
Mon Mar 25, 2019 7:47 pm
Forum: Common Problems
Topic: Has Saxon changed in the Oxygen lib dir, breaking plugins?
Replies: 4
Views: 982

Has Saxon changed in the Oxygen lib dir, breaking plugins?

Hi there, I noticed today that the bleeding-edge (testing) version of the TEI plugin cannot do its normal TEI ODD to RNG transformation in Oxygen 21.0. I think this is because the transformation as configured is expecting to find saxon9ee.jar in the Oxygen lib directory, but it no longer seems to be...
by martindholmes
Fri Mar 15, 2019 2:04 am
Forum: SDK-API, Frameworks - Document Types
Topic: Simplest approach to an Author-mode customization
Replies: 13
Views: 2293

Re: Simplest approach to an Author-mode customization

Just for completeness I'd like to try one more time with JS -- could I get a hint as to the process of using the MenusAndToolbarsContributorCustomizer approach in JS?

Meanwhile, I'll download the SDK and start getting comfortable with the Java.

Cheers,
Martin
by martindholmes
Thu Mar 14, 2019 6:21 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Simplest approach to an Author-mode customization
Replies: 13
Views: 2293

Re: Simplest approach to an Author-mode customization

Thanks Radu! I'll have a go at figuring out the MenusAndToolbarsContributorCustomizer thing. I'm increasingly wondering if it would make sense to move this work to Java, but the JS approach is very convenient (no need for the SDK etc).

All the best,
Martin