If you don't get a more straightforward suggestion from someone more
familiar with Xerces than I, you could try equipping your parser with a
preparsed schema grammar in a grammar pool (indexed by namespace uri).  This
can be made to supersede the schemaLocation attribute of the instance
document, or even the schemaLocation property which is part of the parser
configuration.

The Xerces 2 faq about grammars (which has been referenced a couple of times
on this list in the last 10 days or so) has more details.

Jeff
----- Original Message -----
From: "Doug Helton" <[EMAIL PROTECTED]>
To: "Xerces-J-User (E-mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, November 19, 2002 8:20 AM
Subject: setting systemID in DOM level 3?


> Hi,
> My problem is this.  I am being handed a DOM (level 3 api) and I need to
> change where it is looking for its schema, so that I can validate it.  I
am
> basically trying to change the systemID and can't figure out a way to do
it
> using xerces 2 and the DOM level 3 api.  If anyone has any suggestions I
> would be grateful.
>
> Doug
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to