Hello all,

it is really critical for us to cache the grammar as the parsing takes place a few thousand time during the export from our system. I am experimenting with Xerces2 (we're still using Xerces1) and i am stuck here with a big problem. The grammar is cached perfectly (congrats!), but all the entity definitions seems to be lost during the first parse with the cached grammar resulting in parse errors like:

[Error] mx-xhtml.dtd:1:46: The entity "curren" was referenced, but not declared.
[Error] :1:54: The entity "uuml" was referenced, but not declared.


for any other parse of a sample text:

<p>&current; somemoretext &uuml;</p>

my question is... how do I force the grammar to cache the entity definitions together with the elements and attribute definitions?

regards

Adam



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



Reply via email to