previous  next 
      Parsing XQuery syntax errors (XML)
1 2
Xq2xml encodes the error and an informative message, but (currently)
         not the error code (XPST0003 in this case).
      
<error><data>Encountered "2" at line 1, column 3.
Was expecting one of:
    <EOF> 
    "%%%" ...
    "=" ...
    "," ...
    "or" ...
    "and" ...
    "to" ...
    "*" ...
    "div" ...
    .
    .
    .
  </data></error>