If you are using SAX then you can just write a EntityResolver (the SAX
handler that resolves external references) that returns whatever schema you
desire, no matter what is specified in the XML file.
/Christoffer
> -----Original Message-----
> From: Alessandro [mailto:[EMAIL PROTECTED]]
> Sent: 24. august 2001 14:31
> To: [EMAIL PROTECTED]
> Subject: Validation problem
>
>
> Is it possible to validate an XML document (using a schema file, with
> Xerces), specifing the path of the schema not in the XML document, but
> in the C++ program that parses it?
>
>
> ---------------------------------------------------------------------
> 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]