Project

Profile

Help

Should XQuery Update work with Saxon EE-T from the command line?

Added by Martin Honnen about 7 years ago

According to https://www.saxonica.com/products/feature-matrix-9-8.xml, XQuery Update is supported in all version EE-T, EE-Q, EE-V of Saxon EE.

However, when I try to use it with Saxon 9.8.0.6 EE with an EE-T license from the command line @java -cp 'C:\Program Files\Saxonica\Saxon9.8EE\saxon9ee.jar' net.sf.saxon.Query -t -s:.\test2017110702.xml -update:on -tree:linked test201711070202.xqu@ I get an error

java.lang.UnsupportedOperationException: XQuery Update is not supported in this Saxon Configuration
        at net.sf.saxon.s9api.XQueryCompiler.setUpdatingEnabled(XQueryCompiler.java:211)
        at net.sf.saxon.Query.doQuery(Query.java:284)
        at net.sf.saxon.Query.main(Query.java:110)
Fatal error during query: java.lang.UnsupportedOperationException: XQuery Update is not supported in this Saxon Configuration

Should XQuery Update work with Saxon EE-T from the command line?


Replies (1)

RE: Should XQuery Update work with Saxon EE-T from the command line? - Added by Michael Kay about 7 years ago

No, sorry, this is an error. It requires EE-Q or full EE.

    (1-1/1)

    Please register to reply