Saxon EE not available in Refactoring? Oxygen 19.1
Issues related to W3C XQuery.
-
- Posts: 14
- Joined: Tue Aug 28, 2018 3:51 pm
Saxon EE not available in Refactoring? Oxygen 19.1
In an XQuery Update script, whenever I try to use an XPath 3.1 map expression, the script fails in XML Refactoring ("To use XPath 3.1 syntax, you must configure the XPath parser to handle it").
However, when I run the same XQU with a Transformation scenario on Saxon EE, it works without problems.
Is this a bug, that I cannot use maps in Refactoring but in Transformation Scenarios?
Oxygen version 19.1
XML:
XQU:
However, when I run the same XQU with a Transformation scenario on Saxon EE, it works without problems.
Is this a bug, that I cannot use maps in Refactoring but in Transformation Scenarios?
Oxygen version 19.1
XML:
Code: Select all
<root>
<entry count="1">One</entry>
<entry count="2">Two</entry>
</root>
XQU:
Code: Select all
declare namespace saxon="http://saxon.sf.net/";
declare namespace map="http://www.w3.org/2005/xpath-functions/map";
declare option saxon:output "method=xml";
declare option saxon:output "indent=no";
let $xml := doc(document-uri(/))/root
let $map :=
map:merge(for $x in $xml//entry
return map{$x!@count : $x!text()})
let $new_entries := for $entry in map:keys($map)
return $entry
return
insert node $new_entries as last into $xml
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Saxon EE not available in Refactoring? Oxygen 19.1
Hi,
I can reproduce the problem with Oxygen 19.1 but I can no longer reproduce it with Oxygen 20.1.
Probably the fact that we kept upgrading the Saxon XSLT processor between Oxygen releases made things work at some point.
Regards,
Radu
I can reproduce the problem with Oxygen 19.1 but I can no longer reproduce it with Oxygen 20.1.
Probably the fact that we kept upgrading the Saxon XSLT processor between Oxygen releases made things work at some point.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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