Subject:Saxon XQuery error Author:ambika sony Date:01 Sep 2006 04:32 AM
I'm using Saxon8 for doing xquery in my java application.
everything is working fine except for one case where i'm getting a very strange error which is :
XPST0003: XQuery syntax error in #...rsion='1.0' encoding='UTF-8'?>#:
A processing instruction must not be named 'xml' in any combination of upper and lower case
My XML is perfectly fine.
In my program i'm using XML as string to do the XQuery. so the query is very simple and in java it looks like