Relax NG Pluggable Datatype Libraries

Issues related with the oNVDL implementation of NVDL.
Murmex
Posts: 1

Relax NG Pluggable Datatype Libraries

Thu May 07, 2009 6:41 am

I'm trying to add XHTML5 support to oXygen XML editor (Eclipse plugin) using the Relax NG schema files from validator.nu.

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 for that namespace (available here). 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 and I don't know what to do to make it works.
sorin_ristache
Posts: 4144

Re: Relax NG Pluggable Datatype Libraries

Fri May 08, 2009 3:17 pm

Hello,

See the reply on the Oxygen-user mailing list about adding the necessary jar files to the classpath of the Oxygen plugin.


Regards,
Sorin
rdeltour
Posts: 3

Re: Relax NG Pluggable Datatype Libraries

Tue Mar 29, 2011 3:55 pm

Hi,

I've tried following the suggested steps with the latest version of the html5 datatypes library from validator.nu but it doesn't work. I still have the message:

"datatype library "http://whattf.org/datatype-draft" not recognized"

I'm using the oXygen XML plugin for Eclipse, version 12.1.0.v2011011116.

Thanks,
Romain.
sorin_ristache
Posts: 4144

Re: Relax NG Pluggable Datatype Libraries

Mon Apr 04, 2011 3:28 pm

Hello,

Murmex wrote: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 and I don't know what to do to make it works.


rdeltour wrote:I've tried following the suggested steps with the latest version of the html5 datatypes library from validator.nu but it doesn't work.


Where can I download the HTML 5 datatype library for RELAX NG? I tried to locate a jar file or a zip archive or other download on the validator.nu website but I could not find it. I need the library for reproducing the error and suggesting a fix.


Regards,
Sorin
Zearin
Posts: 107
Location: College Park, MD, United States

Re: Relax NG Pluggable Datatype Libraries

Sat May 07, 2011 9:03 pm

I see that this topic is years old, but I just started having the same problem. :)

The files for the datatypes can be downloaded (or browsed) here:

https://bitbucket.org/validator/syntax/src/default/non-schema/

You can get a copy of the entire thing by using the command described near the top of the page. (It uses Mercurial, which is hg on the command line.)
-- Zearin
george
Site Admin
Posts: 2099

Re: Relax NG Pluggable Datatype Libraries

Mon May 09, 2011 5:11 pm

Do you have that datatype library in a compiled form (jar) ? If not, then probably that is the problem... the classes from that should be accessible to oXygen - for the standalone version you can just drop the jar in the oXygen lib folder, for the Eclipse plugin you need that plus you need to edit also the plugin.xml file to refer to this library in the requires section.

Best Regards,
George
George Cristian Bina

Return to “oNVDL Related Issues”

Who is online

Users browsing this forum: No registered users and 0 guests