You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2012/07/01 01:01:29 UTC
[Bug 53491] New: Node.getTextContent() does not function
https://issues.apache.org/bugzilla/show_bug.cgi?id=53491
Priority: P2
Bug ID: 53491
Assignee: batik-dev@xmlgraphics.apache.org
Summary: Node.getTextContent() does not function
Severity: normal
Classification: Unclassified
Reporter: sbheinric@gmail.com
Hardware: PC
Status: NEW
Version: 1.8
Component: SVG DOM
Product: Batik
Created attachment 29014
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29014&action=edit
testcase showing how Node.getTextContext is called
I opened an SVG document using the DOM parser, find a node in the tree, and
then attempt to get the original text corresponding to that node (for the
purpose of splitting an SVG document into multiple smaller ones).
The problem is that Node.getTextContent() returns only whitespace (variable
amount of newlines) without any actual content.
Example code attached.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org