Stack overflow error new to oXygen 19
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 93
- Joined: Fri Mar 08, 2013 8:58 am
Stack overflow error new to oXygen 19
In oXygen 19 I'm getting java.lang.StackOverflowError for files that are validated fine in oXygen 18, probably because of the Saxon engine upgrade.
After some troubleshooting I determined that the problem was due to instances of.
I'm just registering the observation, in case other users might be experiencing the same issues and scratching their heads.
After some troubleshooting I determined that the problem was due to instances of
Code: Select all
<xsl:attribute name="xml:id"/>
I'm just registering the observation, in case other users might be experiencing the same issues and scratching their heads.
-
- Posts: 93
- Joined: Fri Mar 08, 2013 8:58 am
Re: Stack overflow error new to oXygen 19
Update: after further futzing about I discovered that the following code generates the same stack overflow error. If you remove the 'xml:' or replace it with another namespace prefix, or if you move the variable declaration into its next sibling the error disappears. A Saxon glitch?
Code: Select all
<xsl:template match="/">
<results>
<xsl:for-each select="1 to 3">
<xsl:variable name="pos" select="position()"/>
<xsl:for-each select="7 to 9">
<xsl:element name="test">
<xsl:attribute name="xml:id" select="concat('hi', string($pos))"/>
</xsl:element>
</xsl:for-each>
</xsl:for-each>
</results>
</xsl:template>
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Stack overflow error new to oXygen 19
Hi,
Right, looks like a problem in Saxon 9.7 we ship with Oxygen 19.0.
I registered an issue for it on the Saxonica issues list:
https://saxonica.plan.io/issues/3200
If Michael Kay comes up with a fix for it I will try to bundle it in a future Oxygen 19.0 minor bug fix release.
Regards,
Radu
Right, looks like a problem in Saxon 9.7 we ship with Oxygen 19.0.
I registered an issue for it on the Saxonica issues list:
https://saxonica.plan.io/issues/3200
If Michael Kay comes up with a fix for it I will try to bundle it in a future Oxygen 19.0 minor bug fix release.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: Stack overflow error new to oXygen 19
Hi whyme,
I just wanted to let you know that this problem has been resolved in the latest maintenance build of Oxygen 19.0, 2017042020 (released on April 24th):
http://www.oxygenxml.com/download.html
The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2017042020
You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml
To upgrade:
- For Windows and Linux you can install the new build in the same folder as the previous installation, it will automatically upgrade it.
Before you upgrade, if you have added files or made changes to any of the files from the Oxygen installation folder(especially the frameworks folder), you may want to create a backup of them because they will be overwritten during the upgrade procedure. Custom frameworks will be preserved but we recommend backing them up anyway, just to be safe.
- For Mac OS X you will have to either move the old folder from Applications to a different location and put the new version of Oxygen in its place, or install in a different folder. You can then copy any files you may have changed from the old folder (if any) to the new folder.
The Oxygen preferences will be preserved since they are located elsewhere (user home folder).
Let us know if you encounter further problems with this new build.
Regards,
Costin
I just wanted to let you know that this problem has been resolved in the latest maintenance build of Oxygen 19.0, 2017042020 (released on April 24th):
You can download it from our web site:Saxon 9.7/XSLT: Fixed Stack Overflow error in Saxon 9.7 XSLT processor when processing XSLTs defining xml:id attributes.
http://www.oxygenxml.com/download.html
The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2017042020
You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml
To upgrade:
- For Windows and Linux you can install the new build in the same folder as the previous installation, it will automatically upgrade it.
Before you upgrade, if you have added files or made changes to any of the files from the Oxygen installation folder(especially the frameworks folder), you may want to create a backup of them because they will be overwritten during the upgrade procedure. Custom frameworks will be preserved but we recommend backing them up anyway, just to be safe.
- For Mac OS X you will have to either move the old folder from Applications to a different location and put the new version of Oxygen in its place, or install in a different folder. You can then copy any files you may have changed from the old folder (if any) to the new folder.
The Oxygen preferences will be preserved since they are located elsewhere (user home folder).
Let us know if you encounter further problems with this new build.
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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