Hi, xerces users,
The class XMLGrammarPool has two methods - lockPool() and
unlockPool(), - but I don't find a member function to check if object is
locked or not. Is there a way to define whether the pool is locked?..
The good example for this functionality is XQilla project that extends
Xerces in depth and processes pre-parsed locked grammar pool incorrectly
(see XQillaBuilderImpl::getDocumentAndAddGrammar() post-parsing
handler). XQilla tryes to call orphanGrammar that returns NULL for
locked pool.
IMO, the member function
bool XMLGrammarPool::isLocked() const
will be useful.