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

Scott Cantor updated XERCESC-2117:
----------------------------------
    Fix Version/s: 3.2.0

> 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
>             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: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to