<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<small><big>Hi,<br>
<br>
</big><small><big><big>consider the following </big></big></small><big>SVG
example:<br>
<br>
<svg><text><tspan>q</tspan></text></svg><br>
<br>
which is rendered blank instead of showing the letter 'q'.<br>
<br>
<tspan> prevents q being added to sText here
(svgreader.cxx):<br>
<br>
visitChildren(boost::bind(<br>
(rtl::OUStringBuffer&
(rtl::OUStringBuffer::*)(const rtl::OUString&
str))&rtl::OUStringBuffer::append,<br>
boost::ref(sText),<br>
boost::bind(&xml::dom::XNode::getNodeValue,<br>
_1)),<br>
xElem,<br>
xml::dom::NodeType_TEXT_NODE);<br>
<br>
In visitChildren() an output of getNodeValue() shows that
<tspan> has an empty value. Who is responsible for that???
I'd expect a value "q". Node type is NodeType_ELEMENT_NODE. Is
that what is expected? Or should <tspan> and <text>
both be treated as NodeType_TEXT_NODE?</big><br>
<br>
</small><big><small>Christina</small><br>
</big>
</body>
</html>