Project

Profile

Help

Bug #3113

XQuery update not supported in Saxon/C

Added by O'Neil Delpratt almost 4 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
Documentation
Start date:
2017-01-23
Due date:
% Done:

100%

Estimated time:
Found in version:
1.0.2
Fixed in version:

Description

Reported by node.js user:

XQuery update functionality is currently not supported in Saxon/C. The underlying code base to support XQuery update feature are all there, but there needs to be some addition API in the Saxon/C code to make it work.

As a workaround it should be possible to do XQuery update by setting the configuration property:

http://saxon.sf.net/feature/treeModel to 'linked'

See: http://www.saxonica.com/documentation9.6/index.html#!configuration/config-features

In Saxon/C a EE license is required to do XQuery update. See C++ code below to set the configuration property:

 SaxonProcessor * processor = new SaxonProcessor(true);
 processor->setConfigurationProperty("http://saxon.sf.net/feature/treeModel", "linked");

History

#1 Updated by O'Neil Delpratt almost 2 years ago

  • Description updated (diff)
  • Status changed from New to In Progress

Added the setUpdating() method in the XQueryProcessor class.

#2 Updated by O'Neil Delpratt 4 months ago

For some reason the setUpdating() was removed. Not sure why. Looking to reinstate it.

#3 Updated by O'Neil Delpratt 4 months ago

  • Category changed from Saxon-C Internals to Documentation
  • % Done changed from 0 to 100

We have decided that this feature won't be added to the next release os Saxon/C, but will be documented in the limitations section.

#4 Updated by O'Neil Delpratt 4 months ago

  • Status changed from In Progress to Closed

Added limitation to the documentation.

Please register to edit this issue

Also available in: Atom PDF