UnFortunately no, I don't want it to overide the name of the schema or dtd,
What I realy need is to somehow be able to tell it where to look for that
grammer.

Thanks,
Doug Helton

-----Original Message-----
From: Gottfried Szing [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 10, 2002 2:51 PM
To: Xerces-J-User
Subject: Re: How to find non local grammer?


On Thu, 11 Apr 2002, Doug Helton wrote:

> Hi,
>
>       I am using an InputSource as input into my DOMparser,
> and trying to validate files with schemas and DTDs that are
> not local to my xml file.  I can't specify a relative path in
> my file because I may not know where my file will be located,
> I am at a loss.  I tried setting the systemID on the
> InputSource but that doesn't seem to be what I need to do or
> I am somehow using it wrong.  Does anyone have any
> suggestions?

maybe the feature for external-schema locations help you?

http://xml.apache.org/xerces2-j/features.html


---------------------------------------------------------------------
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