XQuery Update
XQuery Update
Hi,
Saxon-SA (included in oXygen 10) already supports XQuery Update.
Is oXygen going to support it too? When?
Regards
Nikolay
Saxon-SA (included in oXygen 10) already supports XQuery Update.
Is oXygen going to support it too? When?
Regards
Nikolay
Re: XQuery Update
The support for XQuery Update is scheduled for one of the minor releases of the actual version 10.
Re: XQuery Update
It would be great if this was enabled in oXygen soon.
Thanks!
Markus Flatscher
Thanks!
Markus Flatscher
Re: XQuery Update
Thank you very much for implementing XQuery Update support in 10.3.
Transform expressions ("copy - modify")do not seem to work. They
always fail with a message saying that node is not modifiable. Would
you mind telling us whether this is a "feature" of Saxon-SA or of the specific integration within Oxygen?
Example:
declare variable $target := <whatever>some text</whatever>;
copy $t := $target
modify rename node $t as "something"
return $t
Fails with message "Node to be renamed is not an updateable node".
Regards
Nikolay
Transform expressions ("copy - modify")do not seem to work. They
always fail with a message saying that node is not modifiable. Would
you mind telling us whether this is a "feature" of Saxon-SA or of the specific integration within Oxygen?
Example:
declare variable $target := <whatever>some text</whatever>;
copy $t := $target
modify rename node $t as "something"
return $t
Fails with message "Node to be renamed is not an updateable node".
Regards
Nikolay
-
- Posts: 4144
- Joined: Fri Mar 28, 2003 2:12 pm
Re: XQuery Update
Hello,
Thank you for reporting the problem. We fixed it and uploaded a new build on the Download page. Please reinstall Oxygen 10.3.
Regards,
Sorin
Thank you for reporting the problem. We fixed it and uploaded a new build on the Download page. Please reinstall Oxygen 10.3.
Regards,
Sorin
Re: XQuery Update
The fix works for me. Thank you.
Regards
Nikolay
Regards
Nikolay
Re: XQuery Update
I was just testing out XQuery Update in oXygen and came across this thread. Using build 2009090215, I tried the example:
I wonder if this is an XQuery error or an error with oXygen/Saxon?
Thanks for any suggestions,
Joe
But this fails for me with the following error:nikolayo wrote:declare variable $target := <whatever>some text</whatever>;
copy $t := $target
modify rename node $t as "something"
return $t
By the way, I was working in the XQuery Debugger window with Saxon-SA XQuery 9.1.0.7 selected as the Debugger engine.SystemID: /Users/joe/Downloads/Untitled9.xquery
Severity: error
Description: Expression class net.sf.saxon.instruct.TraceExpression is not an updating expression
I wonder if this is an XQuery error or an error with oXygen/Saxon?
Thanks for any suggestions,
Joe
-
- Posts: 4144
- Joined: Fri Mar 28, 2003 2:12 pm
Re: XQuery Update
Hello,
The query works correctly in the Editor perspective (just XQuery execution without debugging) but not in the XQuery Debugger. I think it is a bug in the Saxon SA processor. I reported it to Saxonica and we hope they will fix it soon.
Regards,
Sorin
The query works correctly in the Editor perspective (just XQuery execution without debugging) but not in the XQuery Debugger. I think it is a bug in the Saxon SA processor. I reported it to Saxonica and we hope they will fix it soon.
Regards,
Sorin
Re: XQuery Update
Thanks, Sorin. That's good to know. I'll look out for a future update on this issue.
-
- Posts: 4144
- Joined: Fri Mar 28, 2003 2:12 pm
Re: XQuery Update
Hello joewiz,
Michael Kay fixed the problem on the Saxon 9.2 code branch. The current version is 9.2.0.2 so the fix will be included in the next Saxon 9 version that will be released by Saxonica. We will include that Saxon 9 version in Oxygen after Saxonica will release it.
Regards,
Sorin
Michael Kay fixed the problem on the Saxon 9.2 code branch. The current version is 9.2.0.2 so the fix will be included in the next Saxon 9 version that will be released by Saxonica. We will include that Saxon 9 version in Oxygen after Saxonica will release it.
Regards,
Sorin
Re: XQuery Update
Great, thanks so much, Sorin!