1. Does SchemaHandler attempt to reuse the loaded schema documents?
   In other words, say a schema document A imports Z and B also imports
   Z, but A and B are unrelated each other.
   
   When you load A and B, is Z reused? If so, in what level will this
   reuse be done?  It's just a DOM tree which will be reused, or is it
   parsed schema components that are reused?


2. How about parsing .xsd files by using SAX?  I guess there are
   problems in using SAX, but what are the difficulties in doing so?


3. Do you have any plan to support other schema languages? I have RELAX
   NG in my mind.

   In another post, you wrote that "the separation between grammar
   objects--the things which actually do validation--and their construction
   from some human readable representation is sufficiently complete to
   make this[support of other languages] feasible".
   
   
   I don't want to be pushy, but my experience suggests that things are
   not that easy, mainly because the difference in the validation model.
   
   For example, W3C XML Schema allows you to use xsi:type to "switch"
   the content model of particular element. Other schema language
   treats those attributes as regular attributes. RELAX NG allows you to
   write highly ambiguous content models, which makes it impossible to
   use string automaton based algorithms. And it also allows us to use
   arbitrary datatype library.
   
   
   Is Grammar object really ready to absorb these differences?


regards,
--
Kohsuke KAWAGUCHI                          +1 650 786 0721
Sun Microsystems                   [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to