>  In the mean time has anybody got advice on the bReuseGrammar
> flags.

The use of reuseGrammar for schema "should be" similar to DTD.  You may want to
give it a try and let us know if you found any bugs.

to use reuse grammar, e.g.:

      // this is the first parse, just usual code as you do normal parse
      // xmlFile has a grammar (schema or DTD) specified.
      parser.parse(xmlFile);

      // this is the second parse, by setting second parameter to true,
      // it means it will reuse the grammar that is specified in xmlFile
      // to validate the second anotherXmlFile.
     // Any grammar that is specified in anotherXmlFile is IGNORED.
     // AND there cannot be any internal subset in anotherXmlFile..
      parser.parse(anotherXmlFile, true);

Tinny


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

Reply via email to