Hi,
        check out EntityResolver, it does what you want.

Gareth


On Sat, 8 Mar 2003, Stuart A. Malone wrote:

> 
> I've got Xerces successfully parsing and validating XML files using the 
> XercesDOMParser interface.  What I can't figure out is how to force the 
> validation to always use a specific XSD file stored on my local drive.
> 
> I have found the setExternalSchemaLocation function and I can use it to 
> map my namespace to my XSD file.  But that assumes that the author of 
> the XML document has specified the correct namespace in the XML file.  
> Is there some way for me to validate against a particular schema 
> regardless of what namespace is specified in the XML file?
> 
> --Stuart A. Malone
>    Llamagraphics, Inc.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-- 
Gareth Reakes, Head of Product Development  +44-1865-203192
DecisionSoft Limited                        http://www.decisionsoft.com
XML Development and Services




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

Reply via email to