I think this will happen automatically if the parser is configured to use the grammar pool holding the imported grammar. Look at the Xerces "Grammars" FAQ for more details.

Jeff

Guy Sharon wrote:

How do I set the preparser to choose to look first in the GrammarPool and only then to look for the namespace via the import? (feature, property)? The thing is that in my program the parser will not be able to access neither a local or external URL - I have a special loader that reads files etc. and I dont want to override the parser to access in the same way - I will make sure when preparsing a schema all the necessary namespaces will already be in the current GrammarPool



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

Reply via email to