W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2002

Re: Using XML Schema in local directory

From: Jeni Tennison <jeni@jenitennison.com>
Date: Sat, 23 Feb 2002 23:04:26 +0000
Message-ID: <10724097189.20020223230426@jenitennison.com>
To: "Robertson, Jacob" <Jacob.Robertson@argushealth.com>
CC: xmlschema-dev@w3.org
Hi Jacob,

> HI, but what about when your local file is on windows and the directory
> names contain spaces?  I have this situation
>
> file:///c:/schema files located here/my files/schema 12.xsd
>
> What do we do in this case?  I've tried putting single quotes around it,
> but that didn't work.  Any help??

I'm not sure if this will work, but you could try replacing the spaces
with %20. As it stands, the path above isn't actually a valid URL,
because URLs should be encoded whenever they're written down anywhere.
So try:

  file:///C:/schema%20files%20located%20here/my%20files/schema%2012.xsd

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/
Received on Saturday, 23 February 2002 18:04:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:27 GMT