You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/02/06 19:00:37 UTC
DO NOT REPLY [Bug 6280] New: -
Node.getTextContent() returns bogus results
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=6280>.
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=6280
Node.getTextContent() returns bogus results
Summary: Node.getTextContent() returns bogus results
Product: Xerces2-J
Version: 2.0.0 [beta 4]
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: DOM
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: wes.tutak@gefedmonton.ge.com
Using the DOMParser to parse the included XML the String returned by
Node.getTextContent() appears as "\n foo\n \0\0\0...\0"
Explicity calling Node.getNodeValue() on the <text> node's TEXT_NODE
similiarily misbehaves.
<?xml version="1.0"?>
<svg>
<text>foo</text>
</svg>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org