Project

Profile

Help

XPath Parsing issue with saxon 9.3

Added by Anonymous over 12 years ago

Legacy ID: #10821347 Legacy Poster: Sandy ()

Hi, following xpath fails in compile method() giving parsing error (Unexpected colon at start of token) xpath - [code]/:aaa/:bbb/:ccc[/code] xml - [code] ddd [/code] Same xpath works fine with xalan xpath processor. Is this issue with saxon 9.3?


Replies (2)

RE: XPath Parsing issue with saxon 9.3 - Added by Anonymous over 12 years ago

Legacy ID: #10821509 Legacy Poster: Michael Kay (mhkay)

The expression is invalid and Saxon is right to reject it. It's invalid both in XPath 1.0 and in 2.0.

RE: XPath Parsing issue with saxon 9.3 - Added by Anonymous over 12 years ago

Legacy ID: #10824683 Legacy Poster: Sandy ()

Thanks for the reply. Even i was of opinion that syntax here is not correct, not sure why xalan processes this. Thanks for conforming this.

    (1-2/2)

    Please register to reply