Reputation: 313
I am evaluating Stylus Studio mainly for xquery development against XML payload exchanged using SOAP. I've inherited a complex xquery (about 1800 lines) and when I try to execute it using Saxon as engine I get this error:
XPST0003: Xquery sintax error in ##:Unexpected token " < e o f >" in path expression.
This query works fine in AcquaLogic, so no really sure it's a bug in the file or Saxon. Could anyone please give advise on this? At least to understand on which line it finds this token.
Thanks in advance
Upvotes: 0
Views: 9319
Reputation: 31339
<EOF>
means that Saxon encountered a literal "End of File" byte. Perhaps your path expression is corrupted? Other tools might ignore the EOF if they know the buffer is longer, but on that path lies madness.
Upvotes: 0