How to enable FeatureKeys.TRACE_EXTERNAL_FUNCTIONS in oXygen XML Editor 20.1, build 2018122403
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 3
- Joined: Sat May 28, 2011 9:28 pm
How to enable FeatureKeys.TRACE_EXTERNAL_FUNCTIONS in oXygen XML Editor 20.1, build 2018122403
Post by scalderwood »
I am receiving an error message when trying to use a custom Java extension. The error message tells me to:
For diagnostics on calls to Java methods, use the -TJ command line option or set the Configuration property FeatureKeys.TRACE_EXTERNAL_FUNCTIONS
How can I enable the command line option? I see no option for setting either via the UI. (I see the option for setting a custom saxon config file, but I don't know what all I need to set for that, besides the corresponding KVP for the above mentioned property.)
Details:
<oXygen/> XML Editor 20.1, build 2018122403
XSLT engine: Saxon-EE 9.8.0.12
Thanks,
Steven
For diagnostics on calls to Java methods, use the -TJ command line option or set the Configuration property FeatureKeys.TRACE_EXTERNAL_FUNCTIONS
How can I enable the command line option? I see no option for setting either via the UI. (I see the option for setting a custom saxon config file, but I don't know what all I need to set for that, besides the corresponding KVP for the above mentioned property.)
Details:
<oXygen/> XML Editor 20.1, build 2018122403
XSLT engine: Saxon-EE 9.8.0.12
Thanks,
Steven
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Re: How to enable FeatureKeys.TRACE_EXTERNAL_FUNCTIONS in oXygen XML Editor 20.1, build 2018122403
Hello Steven,
To enable Saxon TRACE_EXTERNAL_FUNCTIONS feature in Oxygen you need to create a Saxon configuration file. For this you can use the "Saxon configuration" new file template. Then crate a transformation scenario for the XSLT document and set the configuration file in the transformation scenario "Advanced options".
You can find more details about transformation scenario "Advanced options" in our user manual:
https://www.oxygenxml.com/doc/versions/ ... l#xslt-tab
The configuration file can look something like this:
You can find more about Saxon configuration file here:
https://www.saxonica.com/documentation9 ... tion-file/
When you enable "traceExternalFunctions" Saxon will output to the standard error output. Therefore, you need to start the oxygen from command line. For this you need to run oxygen.bat, which is located in the installation directory.
Best Regards,
Octavian
To enable Saxon TRACE_EXTERNAL_FUNCTIONS feature in Oxygen you need to create a Saxon configuration file. For this you can use the "Saxon configuration" new file template. Then crate a transformation scenario for the XSLT document and set the configuration file in the transformation scenario "Advanced options".
You can find more details about transformation scenario "Advanced options" in our user manual:
https://www.oxygenxml.com/doc/versions/ ... l#xslt-tab
The configuration file can look something like this:
Code: Select all
<configuration edition="EE" xmlns="http://saxon.sf.net/ns/configuration">
<global traceExternalFunctions="true"/>
</configuration>
https://www.saxonica.com/documentation9 ... tion-file/
When you enable "traceExternalFunctions" Saxon will output to the standard error output. Therefore, you need to start the oxygen from command line. For this you need to run oxygen.bat, which is located in the installation directory.
Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 3
- Joined: Sat May 28, 2011 9:28 pm
Re: How to enable FeatureKeys.TRACE_EXTERNAL_FUNCTIONS in oXygen XML Editor 20.1, build 2018122403
Post by scalderwood »
Thank you! This is exactly what I needed.
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