Hi,

I have a general question about XML grammar pooling. Lets say, I have an
application that processes lots of XML documents and it may run for weeks
or even months. For this type of application it makes a great sense to use
XML Grammar Caching feature, but what if some schemas get updated during
the application runtime? I looked at GrammarPool interface documentation
and it looks like you can call clear method on GrammarPool instance if you
want to clear a cache, but is it safe? Also, in XML Grammar Caching FAQ
there is a talk about some internal grammar bucket owned by a Xerces
validator, if I clear a grammar pool how does it effect the validator? Is
it better to create new Parser rather than call clear method on
GrammarPool?

Has anyone tried to extend default Xerces GrammarPool implementation?

Kestas



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

Reply via email to