[xsd-users] Whitespace characters in local schema file location

Boris Kolpackov boris at codesynthesis.com
Thu Feb 25 09:13:47 EST 2016


Hi Christian,

Christian Jörgensen <christian.jorgensen at patria.fi> writes:

> I can't seem to get the schema load to work if I specify a local schema file
> to xml_schema::Properties let's say like this:
>
> props.schema_location(http://www.schemawebloc/schemafile,
>                       "file:///c:/Program Files/ProgramName/schema.xsd").
>
> I also tried the same with quotes in the file path but this does not
> work either.

Have you tried to url-encode the space?

"file:///c:/Program%20Files/ProgramName/schema.xsd"

Boris



More information about the xsd-users mailing list