Configuring a Custom Datatype Library for a RELAX NG Schema
A RELAX NG schema can declare a custom datatype library for the values of elements found in XML document instances. The datatype library must be developed in Java and it must implement the interface specified on the www.thaiopensource.com website.
The jar file containing the custom library and any other dependent jar file must be
added to
the classpath of the application, that is
the jar files must be added to the folder
[ECLIPSE-INSTALL-DIR]/lib
and a line <library name="lib/custom-library.jar"/>
must be added for
each jar file to the file [ECLIPSE-INSTALL-DIR]/plugin.xml
in the
<runtime> element.
To load the custom library, restart the Eclipse platform.