batch XSLT messages
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 24
- Joined: Thu Apr 27, 2006 5:39 pm
batch XSLT messages
When running an XSLT transformation on a directory of XML files, as opposed to a single file, the "Messages" pane at the bottom of the editor window that shows messages from <xsl:message> elements in the stylesheet does NOT remain open if the last file processed doesn't generate any messages. That is, the Messages pane opens individually for each file processed, rather than once for the whole batch. There doesn't even appear to be a way to open the Messages pane manually to see if any messages were generated during the batch process. Any suggestions?
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: batch XSLT messages
Hello,
It's a bug. The Messages pane was meant for debugging/transforming one stylesheet at a time. When batch transformations were introduced this pane was overlooked. As a result the Messages pane is cleared before running each of the batch transformations.
I've added this to our issue tracking tool and we will fix it in a future version of Oxygen.
Regards,
Adrian
It's a bug. The Messages pane was meant for debugging/transforming one stylesheet at a time. When batch transformations were introduced this pane was overlooked. As a result the Messages pane is cleared before running each of the batch transformations.
I've added this to our issue tracking tool and we will fix it in a future version of Oxygen.
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: 24
- Joined: Thu Apr 27, 2006 5:39 pm
Re: batch XSLT messages
Adrian,
Thanks for the quick reply. I'm glad to know it's on your list.
In the meantime, is there a way to redirect <xsl:message> output to a file? Couldn't find anything obvious in Preferences. I also tried using <xsl:message terminate="yes"> but that results in a generic error message from Saxon that supersedes/overwrites my <xsl:message> message which is what I need to see.
Thanks,
Greg
Thanks for the quick reply. I'm glad to know it's on your list.
In the meantime, is there a way to redirect <xsl:message> output to a file? Couldn't find anything obvious in Preferences. I also tried using <xsl:message terminate="yes"> but that results in a generic error message from Saxon that supersedes/overwrites my <xsl:message> message which is what I need to see.
Thanks,
Greg
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: batch XSLT messages
Greg,
I'm afraid Oxygen doesn't provide an option for this. Maybe you can find something in the configuration file of the Saxon-PE/EE to redirect the xsl:message output to a file.
Another solution would be to configure the XSLT processor as a custom engine(Options -> Preferences -> XML -> XSLT-FO-XQuery -> Custom Engines) and then check the Warnings pane(xsl:message messages are redirected to stderr).
For Saxon 6.5.5 you can use this command line:Use the "lib" folder from Oxygen as the working directory.
Regards,
Adrian
I'm afraid Oxygen doesn't provide an option for this. Maybe you can find something in the configuration file of the Saxon-PE/EE to redirect the xsl:message output to a file.
Another solution would be to configure the XSLT processor as a custom engine(Options -> Preferences -> XML -> XSLT-FO-XQuery -> Custom Engines) and then check the Warnings pane(xsl:message messages are redirected to stderr).
For Saxon 6.5.5 you can use this command line:
Code: Select all
java -jar saxon.jar -o "${out}" "${xml}" "${xsl}"
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
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