Problem with preprocess2 in OT 3.5.4
Having trouble installing Oxygen? Got a bug to report? Post it all here.
Problem with preprocess2 in OT 3.5.4
The pdf2 plugin in OT version 3.5.4 uses preprocess2.
When I run a transformation from the command line, it works fine. But in Oxygen 20.1, it fails with the following issue:
build_preprocess2.xml:66: java.lang.SecurityException: class "net.sf.saxon.serialize.SerializationProperties"'s signer information does not match signer information of other classes in the same package
Changing build.xml in the pdf2 plugin to use the old "preprocess" allows transformations to be run from Oxygen.
I'm wondering if this is corrected in a newer version of Oxygen, or if there is something I can do to get 20.1 to support preprocess2.
Thanks in advance for any replies.
When I run a transformation from the command line, it works fine. But in Oxygen 20.1, it fails with the following issue:
build_preprocess2.xml:66: java.lang.SecurityException: class "net.sf.saxon.serialize.SerializationProperties"'s signer information does not match signer information of other classes in the same package
Changing build.xml in the pdf2 plugin to use the old "preprocess" allows transformations to be run from Oxygen.
I'm wondering if this is corrected in a newer version of Oxygen, or if there is something I can do to get 20.1 to support preprocess2.
Thanks in advance for any replies.
Re: Problem with preprocess2 in OT 3.5.4
Hi,
I would need to know how you have set everything up, is this a DITA OT downloaded from the DITA OT web site? Did you make changes inside it?
By "running from the command line" do you mean you use the recommended way to run it?
https://www.dita-ot.org/dev/topics/buil ... mmand.html
or are you composing an entire command line by adding various libraries to it similar to what Oxygen does when running transformations?
Regards,
Radu
I would need to know how you have set everything up, is this a DITA OT downloaded from the DITA OT web site? Did you make changes inside it?
By "running from the command line" do you mean you use the recommended way to run it?
https://www.dita-ot.org/dev/topics/buil ... mmand.html
or are you composing an entire command line by adding various libraries to it similar to what Oxygen does when running transformations?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Problem with preprocess2 in OT 3.5.4
Hi Radu,
Thanks for the reply and apologies for my late response.
- I am using a stock installation of 3.5.4 downloaded directly from dita-ot.org; there are no modifications
- I navigate to .../dita-ot-3.5.4/bin and type "cmd" into the Windows Explorer navigation bar to open the command window
- I use the dita command to invoke the OT (dita --input="myInputFile.ditamap" --format=pdf
- I use the same content for both the command-line publish and the Oxygen publish
- I create new DITA-OT transformation scenarios in Oxygen and they all fail (I tried both PDF and PDF2)
- The OT I am using in Oxygen is correctly set to my fresh download of 3.5.4
Any advice on how to fix this issue would be greatly appreciated.
Thanks for the reply and apologies for my late response.
- I am using a stock installation of 3.5.4 downloaded directly from dita-ot.org; there are no modifications
- I navigate to .../dita-ot-3.5.4/bin and type "cmd" into the Windows Explorer navigation bar to open the command window
- I use the dita command to invoke the OT (dita --input="myInputFile.ditamap" --format=pdf
- I use the same content for both the command-line publish and the Oxygen publish
- I create new DITA-OT transformation scenarios in Oxygen and they all fail (I tried both PDF and PDF2)
- The OT I am using in Oxygen is correctly set to my fresh download of 3.5.4
Any advice on how to fix this issue would be greatly appreciated.
Re: Problem with preprocess2 in OT 3.5.4
Hi,
Just to make sure, this works for you:
I'm working with Oxygen 23 and I am unable to reproduce the problem. What Oxygen version are you using?
If you edit the transformation scenario that you are using in Oxygen, in the "Advanced" tab there is a "Libraries" button, if you press that button and in the dialog which shows up unclick the checkbox "Allow Oxygen to add", you should have a list of libraries there.
Please make sure this entry:
{code}${dita.dir.url}/lib/Saxon*.jar{code}
is on top of the list (the first entry). If not please add it as a new entry and move it to be on top of the list.
For Oxygen 23 the following list is present on my side:
Regards,
Radu
Just to make sure, this works for you:
right? So running from the command line works but running from Oxygen does not.I use the dita command to invoke the OT (dita --input="myInputFile.ditamap" --format=pdf
I'm working with Oxygen 23 and I am unable to reproduce the problem. What Oxygen version are you using?
If you edit the transformation scenario that you are using in Oxygen, in the "Advanced" tab there is a "Libraries" button, if you press that button and in the dialog which shows up unclick the checkbox "Allow Oxygen to add", you should have a list of libraries there.
Please make sure this entry:
{code}${dita.dir.url}/lib/Saxon*.jar{code}
is on top of the list (the first entry). If not please add it as a new entry and move it to be on top of the list.
For Oxygen 23 the following list is present on my side:
Code: Select all
${dita.dir.url}/lib/saxon-9*.jar
${dita.dir.url}/lib/Saxon*.jar
${dita.dir.url}/lib/commons-io*.jar
${dita.dir.url}/config/
${oxygenHome}/classes/
${oxygenHome}/lib/oxygen.jar
${oxygenHome}/lib/oxygenAuthor.jar
${oxygenHome}/lib/oxygenDeveloper.jar
${oxygenHome}/lib/oxygenEclipse.jar
${oxygenHome}/lib/oxygenAuthorEclipse.jar
${oxygenHome}/lib/oxygenDeveloperEclipse.jar
${oxygenHome}/lib/oxygen-basic-utilities.jar
${oxygenHome}/lib/oxygen-editor-variables-parser.jar
${oxygenHome}/lib/oxygen-sandbox.jar
${oxygenHome}/lib/oxygen-license.jar
${oxygenHome}/lib/*resolver.jar
${oxygenHome}/lib/oxygen-token-markers.jar
${oxygenHome}/lib/org.eclipse.wst.xml.xpath2.processor_*.jar
${oxygenHome}/lib/xml-apis.jar
${oxygenHome}/lib/*xerces*.jar
${oxygenHome}/lib/*commons-io*.jar
${oxygenHome}/lib/commons-logging*.jar
${oxygenHome}/lib/*log4j*.jar
${oxygenHome}/lib/commons-codec*.jar
${oxygenHome}/lib/*jing.jar
${oxygenHome}/lib/*saxon*9*.jar
${oxygenHome}/lib/*saxon*6*.jar
${oxygenHome}/lib/*-xmlgraphics*.jar
${oxygenHome}/lib/*fop.jar
${oxygenHome}/lib/pdfbox-*.jar
${oxygenHome}/lib/fop-pdf-images-*.jar
${oxygenHome}/lib/*batik*.jar
${oxygenHome}/lib/js.jar
${oxygenHome}/lib/poi*.jar
${oxygenHome}/lib/nekohtml.jar
${oxygenHome}/lib/xml-apis-ext.jar
${oxygenHome}/lib/*jeuclid-core.jar
${oxygenHome}/lib/jeuclid-fop.jar
${oxygenHome}/lib/oxygen-jai-tiff.jar
${dita.dir.url}
${dita.dir.url}/target/classes
${dita.dir.url}/lib/*dost-patches.jar
${dita.dir.url}/lib/
${dita.dir.url}/lib/*.jar
Radu
Radu Coravu
<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