Re: SVGTransform does not handle identity transforms correctly

2001-10-01 Thread Vincent Hardy
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: > >

cdata text

2001-10-01 Thread Keiron Liddle
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

cvs commit: xml-batik/sources/org/apache/batik/bridge SVGTextElementBridge.java

2001-10-01 Thread vhardy
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

cvs commit: xml-batik/samples/tests textPCDATA.svg

2001-10-01 Thread vhardy
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

cvs commit: xml-batik/test-references/samples/tests textPCDATA.png

2001-10-01 Thread vhardy
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

Re: cdata text

2001-10-01 Thread Vincent Hardy
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

cvs commit: xml-batik/test-references/org/apache/batik/svggen IdentityTest.svg

2001-10-01 Thread vhardy
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

More on: Re: cdata text

2001-10-01 Thread Vincent Hardy
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.