[xsd-users] Local disk schema location

George Vassilakes george at sbdev.net
Fri Oct 17 11:06:17 EDT 2008


Hi,

whats is the syntax for a schema location in an XSD file

I tried using schemaLocation="file:///c:\file.xsd" but I get "is not a 
valid filesystem path" when I run xsd to generate the c++. If I use 
"../.../file.xsd" it works fine. I also tried using the windows style 
path but still no luck.
At run time if I serialize instances to XML and set the map[""].schema = 
"c:\file.xsd" and then parse it works ok.

Thanks
George





More information about the xsd-users mailing list