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/07/22 21:51:22 UTC
DO NOT REPLY [Bug 11054] New: -
Problem with Win32LCPTranscoder::transcode()
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=11054>.
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=11054
Problem with Win32LCPTranscoder::transcode()
Summary: Problem with Win32LCPTranscoder::transcode()
Product: Xerces-C++
Version: 1.7.0
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: DOM
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: awez@yahoo.com
I use the default transcoder provided (that works for my purposes)and
everything seems to work when setting up a DOM structure from an input XML
file. However, if an element value in the file contains < in it then
transcode seems to have a problem with that value, it returns 0.
if(Node2.getNodeType() == DOM_Node::TEXT_NODE)
{
const DOMString& value = childNode2.getNodeValue();
pRet = XMLString::transcode(value.rawBuffer());
}
pRet is NULL when DOMString contains < (the DOMString itself looks fine).
wcstombs() returns -1 which seems to cause this problem. Am I missing
something? This was working fine with the previous version of Xerces I was
using (1.4).
Thanks,
- Awez.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org