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

Christian Jörgensen christian.jorgensen at patria.fi
Fri Feb 26 01:10:43 EST 2016


Ah... yep this worked. This solution didn't cross my mind. Thank you!!

regards,
Christian


-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com] 
Sent: 25. helmikuuta 2016 16:14
To: Christian Jörgensen <christian.jorgensen at patria.fi>
Cc: xsd-users at codesynthesis.com
Subject: Re: [xsd-users] Whitespace characters in local schema file location

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