Thanks Alberto!

-----Original Message-----
From: Alberto Massari [mailto:[EMAIL PROTECTED] 
Sent: quinta-feira, 10 de Novembro de 2005 21:04
To: [email protected]
Subject: RE: Overriding schemaLocation attribute of XML file

Hi Rafael,

At 20.31 10/11/2005 +0000, Rafael Sousa (Ext_Altior) wrote:

>Hi everybody!
>
>I still haven't had a response on this :-(

It seems your previous message wasn't delivered correctly (it doesn't 
show up in the mailing list archive at 
http://marc.theaimsgroup.com/?l=xerces-c-users&r=1&b=200511&w=2)


>I'm sure it's something pretty simple, but I still haven't found the
>answer...

You need to plug in an entity resolver, so that Xerces asks you to 
find the location of the MySchema.xsd; have a look at the "redirect"
sample.

Alberto


>Thanks again!
>
>Rafael Sousa
>
>
>-----Original Message-----
>From: Rafael Sousa (Ext_Altior)
>Sent: segunda-feira, 7 de Novembro de 2005 17:10
>To: 'Xerces-C++ Users Mailing List'
>Subject: Overriding schemaLocation attribute of XML file
>
>
>Hi all!
>
>Is there any way to override in Xerces the value of the
>xsi:schemaLocation attribute of the root tag of a XML file?
>
> From this example
>
>xsi:schemaLocation="http://www.somesite.com MySchema.xsd"
>
>Xerces will look for MySchema.xsd in the same directory of the
>executable program. What I'm asking is if we can specify a root path
>under which we want Xerces to start looking for the schemas, other than
>the execution path.
>
>Thanks in advance,
>
>Rafael Sousa




Reply via email to