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 Path 1.37 +2 -1 xml-batik/sources/org/apache/batik/bridge/SVGTextElementBridge.java Index: SVGTextElementBridge.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGTextElementBridge.java,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- SVGTextElementBridge.java 2001/09/19 15:09:29 1.36 +++ SVGTextElementBridge.java 2001/10/01 11:54:52 1.37 @@ -56,7 +56,7 @@ * Bridge class for the <text> element. * * @author <a href="[EMAIL PROTECTED]>Bill Haneman</a> - * @version $Id: SVGTextElementBridge.java,v 1.36 2001/09/19 15:09:29 tkormann Exp $ + * @version $Id: SVGTextElementBridge.java,v 1.37 2001/10/01 11:54:52 vhardy Exp $ */ public class SVGTextElementBridge extends AbstractSVGBridge implements GraphicsNodeBridge, ErrorConstants { @@ -375,6 +375,7 @@ } break; case Node.TEXT_NODE: + case Node.CDATA_SECTION_NODE: s = n.getNodeValue(); int[] indexMap = new int[s.length()]; as = createAttributedString
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]