XQuery Update
Are you missing a feature? Request its implementation here.
Re: XQuery Update
Post by stefan »
The support for XQuery Update is scheduled for one of the minor releases of the actual version 10.
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: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: XQuery Update
Post by sorin_ristache »
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
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: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: XQuery Update
Post by sorin_ristache »
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
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: XQuery Update
Post by sorin_ristache »
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
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service