[xml] For Windows: Allow spaces in URI paths



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]