xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bertoni (JIRA)" <xerces-c-...@xml.apache.org>
Subject [jira] Closed: (XERCESC-1883) Xinclude does not support space when the full path is expanded
Date Tue, 18 Aug 2009 17:46:14 GMT

     [ https://issues.apache.org/jira/browse/XERCESC-1883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Bertoni closed XERCESC-1883.
----------------------------------


> Xinclude does not support space when the full path is expanded
> --------------------------------------------------------------
>
>                 Key: XERCESC-1883
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1883
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: XInclude
>    Affects Versions: 3.0.1
>         Environment: Windows
>            Reporter: Ramakanta Pangeni
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Inside the function
>  void XMLUri::initializePath(const XMLCh* const uriSpec)
> a check is made for the valid characters and the space is not included as a valid charater.
Hence  when the following xml is placed inside "c:\my path with space" directory
> <?xml version="1.0" encoding="utf-8"?>
> <objConf xmlns:xi="http://www.w3.org/2001/XInclude">
>   <xi:include href="Constants.xml"/>  
> ...
> the following error is reported:
> path contains invalid character ' '
> The solution is either to include the chSpace in the valid path character list (PATH_CHARACTERS)
or add an extra condition to the "else if" part like this:
>                 else if (!isUnreservedCharacter(testChar) &&
>                          !isPathCharacter(testChar) &&
> 						 testChar != chSpace )

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Mime
View raw message