You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-commits@xmlgraphics.apache.org by ca...@apache.org on 2005/09/15 02:46:02 UTC
svn commit: r289122 -
/xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGUtilities.java
Author: cam
Date: Wed Sep 14 17:45:59 2005
New Revision: 289122
URL: http://svn.apache.org/viewcvs?rev=289122&view=rev
Log:
1. Fixed a problem with SVGUtilities.getParentElement that caused a hang.
Modified:
xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGUtilities.java
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGUtilities.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGUtilities.java?rev=289122&r1=289121&r2=289122&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGUtilities.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGUtilities.java Wed Sep 14 17:45:59 2005
@@ -69,7 +69,7 @@
public static Element getParentElement(Element elt) {
Node n = CSSEngine.getCSSParentNode(elt);
while (n != null && n.getNodeType() != Node.ELEMENT_NODE) {
- n = CSSEngine.getCSSParentNode(elt);
+ n = CSSEngine.getCSSParentNode(n);
}
return (Element) n;
}