[oXygen-user] 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
Roger L Costello
costello at mitre.org
Sun Jan 22 09:52:53 CST 2023
Hi George,
Thanks, but I don't see Enable XQuery update ("-update:(on|off)") at Options->Preferences -- XML / XSLT-XQuery / XQuery / Saxon-HE/PE/EE
[cid:image001.png at 01D92E4F.ACED7EC0]
-----Original Message-----
From: oXygen-user <oxygen-user-bounces at oxygenxml.com> On Behalf Of George Bina
Sent: Sunday, January 22, 2023 8:52 AM
To: oxygen-user at oxygenxml.com
Subject: [EXT] Re: [oXygen-user] 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
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-xquery-saxon.html#preferences-xquery-saxon__dlentry_ogq_bgk_54b
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 at oxygenxml.com<mailto:oXygen-user at oxygenxml.com>
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________
oXygen-user mailing list
oXygen-user at oxygenxml.com<mailto:oXygen-user at oxygenxml.com>
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20230122/a533ed15/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 205588 bytes
Desc: image001.png
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20230122/a533ed15/attachment-0001.png>
More information about the oXygen-user
mailing list