Paul,
Thanks a lot for your detailed bug report. I will look at it in details
and commit your patch shortly.
Regards,
Vincent.
"Evenblij, Paul" wrote:
>
> Hi there,
>
> I have found another issue with SVGTransform.
> Perform the following sequence of calls on SVGGraphics2D instance g2d:
>
>
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 bri
vhardy 01/10/01 04:54:52
Modified:sources/org/apache/batik/bridge SVGTextElementBridge.java
Log:
Fixed problem reported by Keiron Liddle:
http://koala.ilog.fr/batik/mlists/batik-dev/archives/msg01601.html.
See samples/tests/textPCDATA.svg for test case.
Revision Changes
vhardy 01/10/01 04:55:59
Added: samples/tests textPCDATA.svg
Log:
Exercises bug reported by Keiron Liddle:
http://koala.ilog.fr/batik/mlists/batik-dev/archives/msg01601.html
and shows it has been fixed.
Revision ChangesPath
1.1 xml-batik/samples/t
vhardy 01/10/01 05:00:06
Modified:test-resources/org/apache/batik/test samplesRendering.xml
Added: test-references/samples/tests textPCDATA.png
Log:
Integrated new test (textPCDATA) in test suite infrastructure.
Revision ChangesPath
1.24 +8 -1
xml-bat
Keiron,
Double checking the XML spec.:
+ has a "mixed content" as defined in the XML spec. section
3.2.2. It means that a element can contain both character
data (PCDATA) and children elements.
+ Still in the XML spec. section 2.7 says that CDATA can appear
anywhere character data may
vhardy 01/10/01 05:37:10
Modified:sources/org/apache/batik/ext/awt/g2d
TransformStackElement.java
sources/org/apache/batik/svggen SVGTransform.java
test-resources/org/apache/batik/svggen regsvggen.xml
Added: test-sources/org
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.