The Oxygen editor says there is an error in my XQuery Update file but there is no error when I run it from the command line

I have a simple XQuery Update file: [cid:image001.png@01D92E34.704F90E0] Notice the error message. However, when I run the XQuery Update from a command line using Saxon, I get no errors. So why is the Oxygen editor saying there is an error? /Roger

Hi Roger, XQuery update is by default set to off in Oxygen preferences. Just go to Options->Preferences -- XML / XSLT-XQuery / XQuery / Saxon-HE/PE/EE and enable the option: Enable XQuery update ("-update:(on|off)") See also https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/preferences-xqu... After this you can validate and run your XQuery as XQuery update script. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 1/22/23 2:37 PM, Roger L Costello wrote:
I have a simple XQuery Update file:
Notice the error message. However, when I run the XQuery Update from a command line using Saxon, I get no errors. So why is the Oxygen editor saying there is an error?
/Roger
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (2)
-
George Bina
-
Roger L Costello