> I am very happy to see that you are back again!

Thanks.

> One possible extension of Jing is to expose
> the schema representation to programmers.  Kohsuke
> has made an implementation based on Jing.
>
> https://rngom.dev.java.net/nonav/doc/index.html

There's a schema representation in Trang that is intended to be a
general purpose representation of RELAX NG schemas:

http://code.google.com/p/jing-trang/source/browse/#svn/trunk/mod/rng-schema/src/main/com/thaiopensource/relaxng/edit

It would be easy to use this to do transformations on RELAX NG
schemas, such as renaming or expanding include/externalRef. Of course,
its utility is somewhat diminished by the complete absence of
documentation ;-)

Jing and Trang share the code for RELAX NG parsing, both XML and
compact syntax, and that's the part of Jing that rngom uses. From a
brief glance, it looks like rngom provide a couple of more "processed"
representations.  For validators and schema-sensitive editors and the
like, which are interested in the simplified schema, my sense is that
what they really need is richer and more flexible facilities for
validation that can work incrementally.  There's some experimental
stuff in Jing for this at:

http://code.google.com/p/jing-trang/source/browse/#svn/trunk/mod/rng-validate/src/main/com/thaiopensource/relaxng/match

It's hard to know what exactly people need.  In general I think it's
quite hard to get libraries right, unless you creating the libraries
in conjunction with one or more applications that use them.  I would
certainly be interested in working with people who have written or
want to write some application that uses RELAX NG schemas to ensure
that jing/trang provides decent, documented APIs to meet their needs.

James

Reply via email to