RELAX NG Object Model

By Kohsuke Kawaguchi

Introduction

RNGOM is an open-source Java library for parsing RELAX NG grammars. In particular, RNGOM can:

  1. parse the XML syntax
  2. parse the compact syntax
  3. check all the semantic restrictions as specified in the specification
  4. parse RELAX NG into application-defined data structures
  5. build a default data structure based around the binarized simple syntax or another data structure that preserves more of the parsed information.
  6. parse foreign elements/attributes in a schema
  7. parse comments in a schema

See the user's guide for details.

License

RNGOM is mostly based on James Clark's Jing, which is covered by the BSD license. The rest is covered by the MIT license. RNGOM also depends on relaxngDatatype.jar, which is covered by the BSD license, and jax-qname.jar, which is actually covered by the same license as RNGOM (I implemented a clone from JWSDP 1.3 javadoc.)

Download

Download binaries

Links


Back