Change of default Xalan version
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 2
- Joined: Thu Sep 11, 2008 12:18 pm
Change of default Xalan version
Does anybody know, if it is possible to completely replace the Xalan packed with Oxygen with different Xalan version?
The problem is that I have to use old Xalan version 2.6.0 in my transformations, because the new version work improperly with EXSLT evaluation function. Although it is possible to set up another transformer as a JAXP transformer or custom engine in Oxygen, neither one cannot be used for XSLT debugging
So my idea is to use Xalan which is available in debugger after changing the physical Xalan version in behind. Therefore I tried to replace xalan.jar file in Oxygen lib directory with the old Xalan version, but XSLT debugger reports an error and doesn't make any output. Replacing both xalan.jar and xercesImpl.jar with old versions causes Oxygen not to start.
The problem is that I have to use old Xalan version 2.6.0 in my transformations, because the new version work improperly with EXSLT evaluation function. Although it is possible to set up another transformer as a JAXP transformer or custom engine in Oxygen, neither one cannot be used for XSLT debugging

So my idea is to use Xalan which is available in debugger after changing the physical Xalan version in behind. Therefore I tried to replace xalan.jar file in Oxygen lib directory with the old Xalan version, but XSLT debugger reports an error and doesn't make any output. Replacing both xalan.jar and xercesImpl.jar with old versions causes Oxygen not to start.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Change of default Xalan version
Post by sorin_ristache »
Hello,
For debugging you should use one of the built-in versions of the XSLT processors and you cannot use an external processor defined from Options / Preferences / XML / XSLT-FO-XQuery / Custom Engines. Changing the version of a processor by replacing some jar files in the folder [Oxygen-install-folder]/lib usually does not work due to API changes in the processors between two different versions. The errors are one of NoSuchMethodError and NoClassDefFoundError.
Oxygen version 8.2 includes Xalan version 2.5.1. If this version is good for you please use this version which works also with a license key for version 9. Also you can try to replace the Xalan jar file with the one for version 2.6.0 hoping that there were not changes in the Xalan API between versions 2.5.1 and 2.6.0. Anyway we do not support changing the version of a processor by replacing the jar files in the lib folder.
Regards,
Sorin
For debugging you should use one of the built-in versions of the XSLT processors and you cannot use an external processor defined from Options / Preferences / XML / XSLT-FO-XQuery / Custom Engines. Changing the version of a processor by replacing some jar files in the folder [Oxygen-install-folder]/lib usually does not work due to API changes in the processors between two different versions. The errors are one of NoSuchMethodError and NoClassDefFoundError.
Oxygen version 8.2 includes Xalan version 2.5.1. If this version is good for you please use this version which works also with a license key for version 9. Also you can try to replace the Xalan jar file with the one for version 2.6.0 hoping that there were not changes in the Xalan API between versions 2.5.1 and 2.6.0. Anyway we do not support changing the version of a processor by replacing the jar files in the lib folder.
Regards,
Sorin
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