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

George Bina
Mon Mar 14 03:34:59 CDT 2016


Hi Graham,

Check the
META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory
in both JARs. I think Jing uses this to identify the available datatype 
libraries and if your JAR file does not provide the entry there then 
Jing will not load your datatype library.

Best Regards,
George
--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 14/03/16 01:35, Graham Hannington wrote:
> I forget to mention in my previous post: I've run Oxygen XML Author with
> oxygenDebug.bat and with the log4j.properties specified on the Oxygen
> website (to write logs under my desktop), but the only error I see when I
> use "my" .jar is the same one I get when there is no datatype .jar
> present:
>
>> E [Jing] datatype library "http://whattf.org/datatype-draft" not
> recognized
>
> It's as if my .jar is being ignored. This is partly what prompted my
> niggling thought that perhaps Oxygen has some persistent parser cache that
> expects the other jar (from the jEdit XML plugin developer that I used
> first); but if so, the stickiness is deeper than just the .jar file name,
> because I get the same behavior when I use the same .jar file name.
>
> If I close Oxygen, replace my .jar with the .jar from the jEdit XML plugin
> developer, and restart Oxygen, then I don't get that Jing error, and
> validation works using the v.Nu schemas that refer to those datatypes.
>
> I need to investigate whether I can turn on additional diagnostic options
> for Jing that might indicate whether or not my .jar is being used. I'd
> appreciate advice on that.
>
> (I've had confirmation from the jEdit XML plugin developer that all he did
> was to cut down the vnu.jar.)
>
> 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
> _______________________________________________
> oXygen-user mailing list
> 
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
>


More information about the oXygen-user mailing list