Project

Profile

Help

XPATH compilation issue

Added by sandy p over 10 years ago

for following xml @ 123456789(hidden) devPlayground myDevBucket 2012-07-11T00:22:33.000Z myProdBucket 2012-07-23T17:23:40.000Z @

following xpath expression (//:Bucket) gives compilation "Unexpected colon at start of token" How can I fix this? Same xpath works correctly on xalan jars


Replies (1)

RE: XPATH compilation issue - Added by Michael Kay over 10 years ago

If Xalan accepts this, then it's wrong: it's most definitely not a legal XPath expression.

The Bucket element is in no namespace so you can find it using //Bucket.

    (1-1/1)

    Please register to reply