> A tangential question:
>    Is it necessary to set the externalSchemaLocation property if you preload 
> schema
> Grammars into a GrammarPool?  Once the pool is loaded,
> it is given to the parser's configuration.  What if the pool is not
> locked?

Its not necessary whether or not the pool is locked.

>
>    As I understand it, an XMLGrammarPreparser can figure out the schema's 
> namespace as it loads the file.  This allows my customers to supply only a 
> file location for their
>   schema and not force them to provide the namespace, as well.  Is this
>   an incorrect approach?

The namespace of the schema is always the namespace of the document
element so it need not be specified. It is only needed for the
external-schemaLocation property because the same property setting can be
used to parse multiple documents and it serves as a barebones XNI entity
resolver.

-Nikhil


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

Reply via email to