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 Vincent Hardy <vi...@sun.com> on 2001/10/01 14:40:57 UTC

More on: Re: cdata text

Keiron,

I just commited a fix for the problem you reported and added a 
new sample which exercises that problem (samples/tests/textPCDATA.svg).
Thanks for your feedback!
Vincent.

Keiron Liddle wrote:
> 
> Is there any particular reason that text inside CDATA sections is not
> handled or ignored.
> 
> I removed the createCDATASection from the SAXDocumentFactory (so it just
> creates a TextNode) and the text appeared. This probably is not the
> solution, just a test to see what happens.
> It seems that the bridge ignores the CDATASection class because the node
> type is not an ELEMENT_NODE.
> 
> Do I need to remove the cdata sections (and replace "<" with "&lt;" etc.)
> because this is the expected behaviour or is it not handling the cdata
> properly.
> 
> Keiron
> 
> ps. I'm sending this again, the first one seems to have disappeared
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org