[oXygen-user] Relax NG Pluggable Datatype Libraries

Georges Discry
Thu Jul 30 18:12:38 CDT 2009

Looks like I'm having some issues making this work again with 10.3.

I've followed the same steps but I keep getting the message
> datatype library "http://whattf.org/datatype-draft" not recognized | common.rnc

On 05/08/2009 01:56 PM, Sorin Ristache wrote:
> Hello,
> You have to add the jar with the datatype library to the classpath of
> the Oxygen plugin: copy the file html5-datatypes.jar to
> ${oxygenHome}/lib/ directory and add the line
>     <library name="lib/html5-datatypes.jar"/>
> in the<runtime>  element of the ${oxygenHome}/plugin.xml file. The
> library html5-datatypes.jar needs the following jars from the Jena
> distribution otherwise you get many ClassNotFound exceptions:
> jena.jar
> iri.jar
> icu4j_3_4.jar
> You can download a Jena distribution from:
> http://sourceforge.net/project/showfiles.php?group_id=40417&package_id=41716
> You have to copy the jar files to ${oxygenHome}/lib/ and add them to
> plugin.xml:
>     <library name="lib/jena.jar"/>
>     <library name="lib/iri.jar"/>
>     <library name="lib/icu4j_3_4.jar"/>
> Restart Eclipse and you can validate the RELAX NG schema that uses the
> HTML 5 datatype library. Also you can validate XML documents against
> such a schema.
> We will add the steps of this procedure to the User Manual.
> Regards,
> Sorin
> Georges Discry wrote:
>> Hi,
>> I'm trying to add XHTML5 support to oXygen XML editor (Eclipse plugin)
>> using the Relax NG schema files from validator.nu[1].
>> However, parsing the RNC files fails because of the Datatype Library
>> with the "http://whattf.org/datatype-draft" namespace:
>>> datatype library "http://whattf.org/datatype-draft" not recognized | html5/web-forms.rnc
>> Validator.nu provides a Pluggable Datatype Library[2][3] for that
>> namespace. I've copied it in the ${oxygenHome}/lib/ directory and even
>> added it to the XHTML5 classpath in the Document Type Association
>> preferences.
>> However, it doesn't solve the issue. I don't know if it's a problem with
>> the .jar, the service for org.relaxng.datatype.DatatypeLibraryFactory or
>> something else and I don't know what to do to make it works.
>> Thanks for your help,
>> Georges Discry

More information about the oXygen-user mailing list