Hi Thomas. Here's a tiny patch for a couple of bugs I found. First is in AbstractSVGList. If you attempt to get an item from the list but no items had been added yet, you'd get a NullPointerException. Second is in SVGTextPositioningElementSupport. The default values for the x and y attributes were wrong.
Thanks, Cameron -- Cameron McCormack | Web: http://mcc.id.au/ | ICQ: 26955922
Index: sources/org/apache/batik/dom/svg/AbstractSVGList.java =================================================================== RCS file: /home/cvspublic/xml-batik/sources/org/apache/batik/dom/svg/AbstractSVGList.java,v retrieving revision 1.4 diff -r1.4 AbstractSVGList.java 268c268 < if ( index < 0 || index >= itemList.size() ){ --- > if ( index < 0 || itemList == null || index >= itemList.size() ){ Index: sources/org/apache/batik/dom/svg/SVGTextPositioningElementSupport.java =================================================================== RCS file: /home/cvspublic/xml-batik/sources/org/apache/batik/dom/svg/SVGTextPositioningElementSupport.java,v retrieving revision 1.5 diff -r1.5 SVGTextPositioningElementSupport.java 66c66 < = ""; --- > = "0"; 68c68 < = ""; --- > = "0";
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]