Hi,
there is no direct way of doing what you want. You could adjust
the xerces code base to make this possible, but I suspect the easier
(much) way of doing this is to create a simple stylesheet the reprocesses
the doc as you describe.
Gareth
On Wed, 4 Dec 2002, Simon Keary wrote:
>
> Hi,
>
> Given a XML document that contains an embedded schema (in this case
> WSDL) has anyone any idea if there is a simple way to validate it
> using Xerces-C 2.1?
>
> I have a simple (and valid) WSDL document that I'm trying to validate
> with Xerces but so far haven't had much luck. After much trial and
> error I realised that the embedded schema inside
> <types>...</types> was the cause of the problem. By
> taking this schema, placing it a seperate
> .xsd file to the WSDL and doing the necessary modifications I was able
> to get Xerces to correctly validate it.
>
> I'm hoping that there is a simple way to do this but I suspect there
> is not. I'm guessing if I want to do this I may have to do some extra
> processing of the XML manually outside of Xerces. Is this the case?
>
> I've been searching for any examples on this on the web for a while
> but haven't been able to find any. Any help would be really
> appreciated!
>
> Thanks
> Simon Keary
>
>
--
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]