Thanks for the hint. My own implementation was already very close to
that of SoftReferenceGrammarPool. However, even when using the exact
implementation of SoftReferenceGrammarPool I still get an error for
unknown root element when parsing the second document with a different
schema. So the pro
Hi,
I thought we (at least partially) addressed this issue in the JAXP 1.3
implementation. I'd suggest having a look at how the
SoftReferenceGrammarPool [1] works, as its purpose is to cache grammars
based on both their schema location and target namespace.
Thanks.
[1]
http://svn.apache.org/
Hi,
I'm recursively processing DITA maps using the SAXParser with
XMLGrammarPool. All files are in the default namespace but have
different XML schemas associated (set my @xsi:noNamespaceSchemaLocation).
The problem is that the XMLGrammarPool as well as the SAXParser assumes
that the schema