[
https://issues.apache.org/jira/browse/XERCESC-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Scott Cantor resolved XERCESC-2117.
-----------------------------------
Resolution: Fixed
Applied to trunk, r1805935
> Wrong unicode character in PosixFileMgr::isRelative
> ---------------------------------------------------
>
> Key: XERCESC-2117
> URL: https://issues.apache.org/jira/browse/XERCESC-2117
> Project: Xerces-C++
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 3.1.4
> Environment: iSeries / non-ASCII-systems
> Reporter: Victor Horvath
> Assignee: Scott Cantor
> Fix For: 3.2.0
>
>
> In the PosixFileMgr.cpp the function PosixFileMgr::isRelative checks with
> {code}
> return toCheck[0] != XMLCh('/');
> {code}
> With other character sets (e.g. EBCDIC) the code will fail.
> The correct way would be to check with "chForwardSlash":
> {code}
> return toCheck[0] != chForwardSlash;
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]