Error: Multiple markers at this line - An error occurred compiling the XQuery resource: The use of an unbound current node is not supported for XQuery resources.
We can observe this error some times during the XQuery development in OSB.
I faced this error and it was quite annoying.
Checked each line but could not find any mapping mistake.
In the last attempt there is a silly mistake which happened during copy pate.
In one of the mappings, variable name was wrongly copied.
Wrong mapping : <test>{data(testVar/GroupNumber)}</test>
Correct mapping : <test>{data($testVar/GroupNumber)}</test>
We can observe this error some times during the XQuery development in OSB.
I faced this error and it was quite annoying.
Checked each line but could not find any mapping mistake.
In the last attempt there is a silly mistake which happened during copy pate.
In one of the mappings, variable name was wrongly copied.
Wrong mapping : <test>{data(testVar/GroupNumber)}</test>
Correct mapping : <test>{data($testVar/GroupNumber)}</test>
Another Case I have observed:
ReplyDeleteI was comparing element value with null and error: The use of an unbound current node is not supported for XQuery resources
Solution: Rather than comparing element/Value = null , it should be fn:empty(element/Value)