jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r500298 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/xpath/XPathQueryBuilder.java
Date Fri, 26 Jan 2007 18:28:42 GMT
Author: mreutegg
Date: Fri Jan 26 10:28:42 2007
New Revision: 500298

URL: http://svn.apache.org/viewvc?view=rev&rev=500298
Log:
JCR-719: XPath parser ignores parent axis

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/xpath/XPathQueryBuilder.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/xpath/XPathQueryBuilder.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/xpath/XPathQueryBuilder.java?view=diff&rev=500298&r1=500297&r2=500298
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/xpath/XPathQueryBuilder.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/xpath/XPathQueryBuilder.java
Fri Jan 26 10:28:42 2007
@@ -487,6 +487,9 @@
                     exceptions.add(new InvalidQueryException("Unsupported location for predicate"));
                 }
                 break;
+            case JJTDOTDOT:
+                exceptions.add(new InvalidQueryException("Parent axis is not supported"));
+                break;
             default:
                 // per default traverse
                 node.childrenAccept(this, queryNode);



Mime
View raw message