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.