You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Scott Cantor (JIRA)" <xe...@xml.apache.org> on 2017/07/11 18:53:00 UTC

[jira] [Resolved] (XERCESC-746) XMLString::trim ( char *const toTrim ) trims accentuated characters

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

Scott Cantor resolved XERCESC-746.
----------------------------------
    Resolution: Won't Fix

> XMLString::trim (  char *const toTrim ) trims accentuated characters
> --------------------------------------------------------------------
>
>                 Key: XERCESC-746
>                 URL: https://issues.apache.org/jira/browse/XERCESC-746
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.1.0
>         Environment: Operating System: HP-UX
> Platform: HP
>            Reporter: Guillaume Baurand
>
> The trim method trims characters with an ascii code superior to 128.
> When recoding a trim method to override xerces' one, I noticed that I got the 
> same result when using a variable of type 'char' to test characters( 
> accentuated characters having a negative representation) .
> Using an 'unsigned char' solves the problem.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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