Syntax highlighting of XPath 3.1 expression with curly braces array constructor and simple map operator fails
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 102
- Joined: Tue Aug 19, 2014 12:04 pm
Syntax highlighting of XPath 3.1 expression with curly braces array constructor and simple map operator fails
Post by Martin Honnen »
Using XML Editor 21.1, build 2019071807, I have an XSLT 3 document with the code
in the text editor where the XPath expression in the select attribute of the `xsl:sequence` element is not colourized well, the part
is all displayed in the same red color.
The same happens in the XQuery/XPath builder with that expression
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="3.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:saxon="http://saxon.sf.net/"
exclude-result-prefixes="#all" expand-text="yes">
<xsl:mode on-no-match="shallow-skip" streamable="yes"/>
<xsl:output indent="yes"/>
<xsl:template match="/*">
<xsl:for-each select="item">
<xsl:result-document href="item-{@id}.json" method="json"
indent="yes">
<xsl:sequence select="array {* ! array {. => tokenize()}}"/>
</xsl:result-document>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
Code: Select all
! array {. => tokenize()}}
The same happens in the XQuery/XPath builder with that expression
Code: Select all
array {* ! array {. => tokenize()}}
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Syntax highlighting of XPath 3.1 expression with curly braces array constructor and simple map operator fails
Hello,
Thank you for the feedback.
I was able to reproduce the issue with the example you have provided. I've logged an issue to investigate and resolve in a future release. For future reference it is issue EXM-44128.
Regards,
Adrian
Thank you for the feedback.
I was able to reproduce the issue with the example you have provided. I've logged an issue to investigate and resolve in a future release. For future reference it is issue EXM-44128.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 81
- Joined: Wed Aug 30, 2017 3:56 pm
Re: Syntax highlighting of XPath 3.1 expression with curly braces array constructor and simple map operator fails
Hello Martin,
Just wanted to let you know that oXygen 22 (released a few days ago) solves the issue you reported on this thread.
Regards,
Teo Timplaru
oXygen XML
Just wanted to let you know that oXygen 22 (released a few days ago) solves the issue you reported on this thread.
Regards,
Teo Timplaru
oXygen XML
Teodor Timplaru
<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