Hi Randy,

"WATTS, RANDY (ATTSI)" <[EMAIL PROTECTED]> writes:

>       parser->setProperty(XMLUni::fgXercesSchemaExternalSchemaLocation,
>         "http://schemas.xmlsoap.org/soap/envelope/ envelope.xsd");

You need to convert the second argument to XMLCh-based string. Something
along these lines:

XMLCh* str (XMLString::transcode (
              "http://schemas.xmlsoap.org/soap/envelope/ envelope.xsd"));

parser->setProperty(XMLUni::fgXercesSchemaExternalSchemaLocation, str);

XMLString::release (str);


> The schemas and XML documents I am working with work ok with the SAX1
> parser so I do not think I there are issues with the input data.

That's quite strange.


hth,
-boris


-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding

Reply via email to