I still have a question about the preparser and grammar caching --

Without setting anything special in the XMLGrammarPreparser, shouldn't the Xerces parse process automatically resolve external entities?

I mean, if I were validating an XML instance document using a DTD that contains externally defined parameter entities, doesn't the parser automatically resolve the external entities there in order to validate the document?

So why can't I get the preparser to resolve the same entities, if I just want to cache the grammar from the same DTD in the example above? The parser itself keeps giving me an error of "EntityNotDeclared" for the only external entity defined in my test.

Has anyone run into this situation?

What am I not telling the XMLGrammarPreparser? I am not setting any features or properties (actually I tried setting relevant features, but they seem to be ignored by the parser).

Can someone help me? Any pointers?? I'm running with Xerces-J 2.5.0.
--


--Henry Miller


[EMAIL PROTECTED]
Evolutionary Technologies International, Inc.

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



Reply via email to