Here is the demo page of the javascript RelaxNG validator.

The first step of that validation is the simplification of the RelaxNG schema, more detailed there.

The second step of the validation is based on the derivative algorithm used by jing, a java RelaxNG validator. That algorithm is detailed by James Clark there.

RelaxNG validator

Follow the steps :

  1. Write a XML text in the textarea or import one from the samples.
  2. Write a RelaxNG text in the second textarea or import one from the samples.
  3. Click on "Validate XML". Messages of events triggered and validation result are dumped in the page.
Record debug states (slower).
Show debug messages.




All those developments are released under Cecill licence.

The project Forms Generator is available on a svn, contact me for more information. In the future, a project might be created on sourceforge.

Projects svg 3d, XSD to RelaxNG converter, javascript SAX parser, javascript RelaxNG validator, javascript datatype library are published on Google code. Project javascript SAX parser is also published on Github.


In order to have javascript working as expected, please use last version of firefox.

For the applets, you will need to have java installed on your computer.