[xml] For Windows: Allow spaces in URI paths
- From: Chris_Poblete Dell com
- To: xml gnome org
- Subject: [xml] For Windows: Allow spaces in URI paths
- Date: Sun, 26 Aug 2001 12:37:55 -0500
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.
PROPOSED RESOLUTION:
uri.c:xmlParseURIPathSegments(1481)
------------------------------------------------------------
< if (*cur == ';') {
----------
// For Windows, allow for spaces in paths like "*/Program Files/*"
#ifdef _MSC_VER
if (*cur == ';' || *cur == ' ') {
#else
if (*cur == ';') {
#endif
------------------------------------------------------------
_______________________________
Chris Poblete
Dell © Enterprise Servers Group
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]