Hi all,
   Please consider following two XPath 3.1 expressions provided as an input
to the parser that I've posted,

1) fn:doc(fn:document-uri($N)) is $N         (example taken from the XPath
3.1 spec)

This produces parsed result as,
fn:doc(fn:document - uri($N)) is $N

The parser treats - as a subtraction operator with operands fn:document
& uri($N).

2) fn:doc(fn:documenturi($N)) is $N

This produces parsed result as,
fn:doc(fn:documenturi($N)) is $N

The parser treats fn:documenturi($N) as a function call.

Currently, the parser that I've posted, doesn't have a list of all possible
XPath 3.1 built-in functions within itself with which it can make its
checks.

Any thoughts about above points please?


-- 
Regards,
Mukul Gandhi

Reply via email to