Hi,
I’m trying to use Xerces to validate an XML document that references an external schema .XSD. The .XSD file name contains blanks in the name, and this seems to be causing Xerces to be unable to open the schema document.
Whenever I try to run my app it results in the error
The reference within the XML document is: <?xml version="1.0" encoding="UTF-8" ?><CORHDR_6 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Tradacoms CORHDR 6.xsd">
If I replace the spaces with another character (ie underscore) and rename the .XSD file accordingly then everything works OK. Is this a bug / feature of Xerces, or is there something I can do to workaround this?
I’d really appreciate any guidance you can give me with this.
Best regards,
Nigel Kibble.
|
- Xerces validation with schema (blanks in file name) Nigel Kibble
- Re: Xerces validation with schema (blanks in file name) Peter Hendry
- RE: Xerces validation with schema (blanks in file name) Nigel Kibble
- Re: Xerces validation with schema (blanks in file n... Mark Goodhand