> What I am trying to do is get at and interpret the underlying schema
> data model, rather than using it directly to validate existing XML, I need
> to understand what possible child Nodes are possible for a current Node etc.
Look at MSV's Acceptor interface, SimpleAcceptor, and Expression. I
think I might even provide a helper class that lets you iterate possible
elements.
> Do you think that I could easily pull out a data model from MSV and use it
> in this way? It would be very useful if I could load a schema apply the
> simplifications from section 4 of the RNG spec and then query the resulting
> model. To achieve Nirvana I would have the ability to extract this 'model'
> from any of the schema languages!
regards,
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net