[oXygen-user] Creating a RELAX NG datatype library .jar for use with the v.Nu schemas

Graham Hannington
Sun Mar 13 11:01:08 CDT 2016


Revisiting some similar threads from several years ago...

I want to use the Nu Html Checker (v.Nu) RELAX NG compact syntax schemas 
with Oxygen XML Author to edit XHTML5 documents. I'm using Oxygen XML 
Author version 15.2 on Windows 7.

I'm already editing XHTML5 documents with the v.Nu schemas in another 
editor, jEdit, thanks to a jEdit XML plugin developer who has supplied me 
with a .jar containing the required datatype library.

Good news: I can drop that .jar into the Oxygen lib directory, and 
everything "works": I point to the v.Nu schemas (that refer to a custom 
datatype), and Oxygen validates my XHTML5 documents.

Bad news: I'm unable to re-create that datatype .jar myself, hence this 
email.

I've cut down the release vnu.jar (which is what I believe the jEdit XML 
plugin developer did) to create a .jar containing just the classes (and 
other embedded data files) required by the datatype library (to avoid 
introducing classes that might clash with others in the classpath) to 
exactly the same set of files, and I've compared contents (including 
decompiling classes). I can't spot any significant differences between the 
two jars. But his works, mine doesn't :-(.

And yet... both jars (mine and his) work in jEdit.

So, I'm confused.

To me, the most obvious answer is: there's something wrong with my .jar 
that I'm overlooking, that, for some reason, matters to Oxygen but not to 
jEdit (I haven't compared Jing versions in each product).

Still, I have this niggling feeling that my jar might be okay, and that 
Oxygen has cached something to do with the custom datatypes in a way that 
requires the original version of the datatype .jar I used (from the jEdit 
XML plugin developer). I just don't know where that cache might be. I've 
deselected "parser caching", but I haven't seen any option to "clear 
parser cache".

I'd appreciate advice on any of this. In particular:

- Is my niggling feeling about parser caching just wishful thinking? Or is 
there a parser cache (that persists between Oxygen sessions) that I can 
clear?

- Can someone provide me with steps that I can reproduce to cut down a 
release vnu.jar to, say, a vnu-datatype.jar that works in Oxygen?

For details on what I'm up to and why, see:

https://www.github.com/unsoup/validator

(I must update that readme to mention raw.githubusercontent.com URLs an 
alternative to github.io URLs)

Regards,
Graham Hannington

Fundi Software Pty Ltd  2016  ABN 89 009 120 290


This message has been scanned for malware by Websense. www.websense.com


More information about the oXygen-user mailing list