Re: [xml] For Windows: Allow spaces in URI paths



In message <71714C04806CD5119352009027289217FE1789 ausxmrr502 us dell com>
          Chris_Poblete Dell com wrote:

VERSIONS: libxml2-2.4.3
          libxslt-1.0.3

PROBLEM:
When used in Windows, the tag <xsl:include href="c:/Program Files/...">
is invalid since the URI string contained a space.

That's not a valid URI, is it ?

c isn't a protocol that I'm aware of. If you want to reference files on your
harddisc, you should be using file:///c%%3AProgram%20Files/... rather than
changing the interface to support your particular native filesystem.

Similar issues occur with the # character which is a valid character in a
windows filename (AIUI) but is not valid in a URI. All the more reason to
use URIs and not file paths.

-- 
Gerph {djf0-.3w6e2w2.226,6q6w2q2,2.3,2m4}
URL: http://www.movspclr.co.uk/
... Eyes to the heavens, screaming at the sky;
    Trying to send you messages, but choking on goodbye.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]