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 bu...@apache.org on 2002/12/11 17:52:53 UTC
DO NOT REPLY [Bug 15280] New: -
XMLString::trim ( char *const toTrim ) trims accentuated characters
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15280>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15280
XMLString::trim ( char *const toTrim ) trims accentuated characters
Summary: XMLString::trim ( char *const toTrim ) trims
accentuated characters
Product: Xerces-C++
Version: 2.1.0
Platform: HP
OS/Version: HP-UX
Status: NEW
Severity: Normal
Priority: Other
Component: Utilities
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: guillaume@baurand.net
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org