Scott,
Just call loadGrammar() on the main schema that contains the import
declarations. There is no sample yet to illustrate Preparsing Grammar,
all we have right now are those documented in the Programming Guide:
http://xml.apache.org/xerces-c/program-others.html#GrammarCache
Tinny
----- Original Message -----
From: "Gordon, M Scott" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Gordon, M Scott" <[EMAIL PROTECTED]>
Sent: Monday, November 04, 2002 6:26 PM
Subject: Use of loadGrammar on schema with import declarations
>
> Does the loadGrammar() method support loading a grammar that has import
> declarations for external namespaces? Do I need to call loadGrammar() on
> each of the namespaces that are imported in a schema? Or, can I just call
> loadGrammar() on the main schema that contains the import declarations,
and
> have the parser discover the import declarations and resolve the imported
> namespace? Has anyone done this successfully? Are there any examples of
> this somewhere?
>
> Any feedback is greatly appreciated.
>
> Thanks,
>
> M. Scott Gordon
> ADSS Software Engineer
> BAE Systems Mission Solutions Inc.
> [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]