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 2008/05/28 02:36:23 UTC

svn commit: r660763 - /xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/Parser.java

Author: cam
Date: Tue May 27 17:36:23 2008
New Revision: 660763

URL: http://svn.apache.org/viewvc?rev=660763&view=rev
Log:
Fix incorrect CSS parsing when another condition appears after an attribute
condition on a simple selector.

Submitted by: Martin Zdila <m....@mwaysolutions.com>

Modified:
    xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/Parser.java

Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/Parser.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/Parser.java?rev=660763&r1=660762&r2=660763&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/Parser.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/Parser.java Tue May 27 17:36:23 2008
@@ -724,7 +724,7 @@
                 default:
                     throw createCSSParseException("right.bracket");
                 case LexicalUnits.RIGHT_BRACKET:
-                    nextIgnoreSpaces();
+                    next();
                     c = conditionFactory.createAttributeCondition
                         (name, null, false, null);
                     break;