[xsd-users] URI syntax for xsi:noNamespaceSchemaLocation

Boris Kolpackov boris at codesynthesis.com
Thu Mar 15 15:20:45 EDT 2007


Hi Hari,

Hari Kalva <hari at cse.fau.edu> writes:

> The parser fails if the file url contains double '/' as in file://
> The error message I get is: "Instance document parsing failed"
> The following gives the parsing error:
>
> <RMI xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:noNamespaceSchemaLocation="file://C:/Soil/VidSchema/TestSchema.xsd">
>                                    ^^^
>
> The parser works only when the file url has a single '/'. The following
> works:
>
> <RMI xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:noNamespaceSchemaLocation="file:/C:/Soil/VidSchema/TestSchema.xsd">

This seems to be a quirk of Xerces-C++ on Windows. On GNU/Linux
it only works with "file://". I will ask on the Xerces-C++ mailing
list.

hth,
-boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20070315/2fd5f438/attachment.pgp


More information about the xsd-users mailing list