Hello.

Does the so-called "grammar-caching" take place within the currently
used parser (e.g. DOMBuilder) only [meaning: grammar cache is deleted
when the parser is released] or is the grammar held somewhere in memory
until XMLPlatformUtils::Terminate(); or any other method (like
resetDocumentPool() etc.) is called? 
Until now I believe it is attached to the parser but I cannot find an
explicit confirmation for that in the documentation. 

If so and grammar-caching throughout the lifetime of my program would be
required is the only way to do so like described here
(http://www-128.ibm.com/developerworks/webservices/library/x-xsdxerc.htm
l) or in using synchronized access to one single parser instance? 

Are there additional possibilities without using (de-)serialization,
e.g. can I share a an instance of XMLGrammarPool with multiple parser
instances?

Regards 
 Frank

Reply via email to