PDF2 - Error processing foreign attribute: "link-back"
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 58
- Joined: Fri Sep 12, 2008 12:12 am
PDF2 - Error processing foreign attribute: "link-back"
In Oxygen I keep encountering a strange problem when trying to build PDF2 output that "hangs" the build process by running indefinitely:
[fop] 0 ERROR [ main ] org.apache.fop.fo.PropertyList - Error processing foreign attribute: http://www.renderx.com/XSL/Extensions/@rx:link-back Property ignored.
The context is:
After this the build continues to run indefinitely doing nothing at all. At first I thought it was because of something I had done when customizing build files, but then I restored the original and I still had the same problem. Then I thought it might be my ditamap, but then I tried to run one of the sample ditamaps that come with the DITA OT - same result.
Then this morning I installed fresh the new version 10 of Oxygen (the above was tested with 9) on a completely different computer which has never had Oxygen or any dita files on it before, and "fresh out of the box".... same problem occured. Is this a bug or am I simply doing something wrong?
~Josh
[fop] 0 ERROR [ main ] org.apache.fop.fo.PropertyList - Error processing foreign attribute: http://www.renderx.com/XSL/Extensions/@rx:link-back Property ignored.
The context is:
Code: Select all
publish.map.pdf:
[echo] dita.temp.dir=C:\Documents and Settings\Administrator.CISWINNET\My Documents\Oxygen DITA Documents/temp work.dir=C:\Documents and Settings\Administrator.CISWINNET\My Documents\Oxygen DITA Documents/temp
[echo] dita.dir=C:\Program Files\Oxygen XML Editor 9\frameworks/dita/DITA-OT
[echo] basedir=C:\Program Files\Oxygen XML Editor 9\frameworks\dita\DITA-OT\demo\fo
transform.topic2pdf:
copyCoreArtwork:
[copy] Copying 2 files to C:\Documents and Settings\Administrator.CISWINNET\My Documents\Oxygen DITA Documents\out\Configuration\OpenTopic
[copy] Copying 1 file to C:\Documents and Settings\Administrator.CISWINNET\My Documents\Oxygen DITA Documents\out\Customization\OpenTopic
transform.topic2fo:
[dita-version] Search finished
[index-preprocess] [INFO] IBM ICU4J Collator is not found. Default Java Collator will be used
[index-preprocess] [INFO] IBM ICU4J Collator is not found. Default Java Collator will be used
transform.fo2pdf:
transform.fo2pdf.xep:
transform.fo2pdf.fop:
[fop] C:\Documents and Settings\Administrator.CISWINNET\My Documents\Oxygen DITA Documents\out\topic.fo -> C:\Documents and Settings\Administrator.CISWINNET\My Documents\Oxygen DITA Documents\out\PostgreSQL_Quickstart_Guide.pdf
[fop] 0 ERROR [ main ] org.apache.fop.fo.PropertyList - Error processing foreign attribute: http://www.renderx.com/XSL/Extensions/@rx:link-back Property ignored.
Then this morning I installed fresh the new version 10 of Oxygen (the above was tested with 9) on a completely different computer which has never had Oxygen or any dita files on it before, and "fresh out of the box".... same problem occured. Is this a bug or am I simply doing something wrong?
~Josh
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: PDF2 - Error processing foreign attribute: "link-back"
Post by sorin_ristache »
Hello,
Regards,
Sorin
On the example DITA maps that I transformed with the PDF2 target this FOP error is displayed in the console but it does not hang the build process. The build is successful and the PDF file is generated correctly. Can you post small sample files (the DITA map, DITA topic files) or send us an archive with DITA files for reproducing the hang problem? What Oxygen version do you use?jnielsen wrote:In Oxygen I keep encountering a strange problem when trying to build PDF2 output that "hangs" the build process by running indefinitely:
[fop] 0 ERROR [ main ] org.apache.fop.fo.PropertyList - Error processing foreign attribute: http://www.renderx.com/XSL/Extensions/@rx:link-back Property ignored.
Regards,
Sorin
-
- Posts: 58
- Joined: Fri Sep 12, 2008 12:12 am
Re: PDF2 - Error processing foreign attribute: "link-back"
I can send you a zip file with my ditamap and files, but it also does the same thing with the sample files that come with Oxygen in %homedir%\frameworks\dita\DITA-OT\samples like taskbook.ditamap. I can PDF transform them, but not PDF2 transform them.sorin wrote:
On the example DITA maps that I transformed with the PDF2 target this FOP error is displayed in the console but it does not hang the build process. The build is successful and the PDF file is generated correctly. Can you post small sample files (the DITA map, DITA topic files) or send us an archive with DITA files for reproducing the hang problem? What Oxygen version do you use?
Regards,
Sorin
As for my version, up until this morning I've been using 9, but I installed 10 today on two new computers to see if they would have the same problem - and they do. So the problem is in both version 9 and 10, regardless of which computer it is running on.
P.S. I will send an e-mail to support@oxygenxml.com shortly, titled "PDF2 Problem - for Sorin".
~Josh
-
- Posts: 58
- Joined: Fri Sep 12, 2008 12:12 am
Re: PDF2 - Error processing foreign attribute: "link-back"
On another forum I saw someone say that they had installed "the idiom plugin", is something that needs to be done, or does Oxygen have everything it needs to make the PDF2 right "out of the box"? Were they maybe just referring to the "dita2pdf2" build file?
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: PDF2 - Error processing foreign attribute: "link-back"
Hi Josh,
About the IDIOM PDF2 transformation, it does not come by default bundled in DITA Open Toolkit distribution but as a separate plugin.
Oxygen distributes DITA OT with the IDIOM FO plugin preinstalled so that you can make PDF2 transformations out of the box.
Also, the PDF2 IDIOM FO plugin does not have the capability to work with the free Apache FOP (bundled with Oxygen) but only with the commercial XEP PDF rederer.
We made some modifications allowing users to choose between FOP and XEP in a combo box from the transformation scenario.
Using PDF2 with FOP should give you some warnings but should produce in the end PDF output.
The plugin files are installed in the default OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo directory and they are accessed by the build target dita2pdf2 situated in the OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/build.xml file.
We will also take a look at the zip file and answer you by email.
Regards,
Radu
--
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
About the IDIOM PDF2 transformation, it does not come by default bundled in DITA Open Toolkit distribution but as a separate plugin.
Oxygen distributes DITA OT with the IDIOM FO plugin preinstalled so that you can make PDF2 transformations out of the box.
Also, the PDF2 IDIOM FO plugin does not have the capability to work with the free Apache FOP (bundled with Oxygen) but only with the commercial XEP PDF rederer.
We made some modifications allowing users to choose between FOP and XEP in a combo box from the transformation scenario.
Using PDF2 with FOP should give you some warnings but should produce in the end PDF output.
The plugin files are installed in the default OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo directory and they are accessed by the build target dita2pdf2 situated in the OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/build.xml file.
We will also take a look at the zip file and answer you by email.
Regards,
Radu
--
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 58
- Joined: Fri Sep 12, 2008 12:12 am
Re: PDF2 - Error processing foreign attribute: "link-back"
Thanks. For the record the XEP option is not "enabled" on my machine so-to-speak, it says "Detected XEP directory:'not available' ... [How to configure XEP]". How would I go about installing/configuring XEP? Also are you saying that the XEP transform should not be necessary with the customizations you made to the FOP transform? Thanks.
~Josh
~Josh
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: PDF2 - Error processing foreign attribute: "link-back"
Hi Josh,
First you download and install XEP from http://www.renderx.com/ preferably in a folder path without spaces (something like c:\XEP).
I seem to remember they had some issues with spaces in the installation path and do not know if they worked them out.
Then, from the Oxygen Options Preferences->XML / XSLT-FO-XQuery / FO Processors page you have a "Browse" button expecially for XEP where you simply browse and choose xep.bat from the file chooser.
After choosing the path to the XEP executable you should be able to use the "XEP" processor in the DITA maps PDF2 transform.
Without a license, XEP will add some watermark at the end of each page, one of the PDF files I recently sent you was made using it...
Also, Renderx offers a special Oxygen-XEP bundle at a very good price here:
http://www.renderx.com/tools/docbench.html
Regards,
Radu
First you download and install XEP from http://www.renderx.com/ preferably in a folder path without spaces (something like c:\XEP).
I seem to remember they had some issues with spaces in the installation path and do not know if they worked them out.
Then, from the Oxygen Options Preferences->XML / XSLT-FO-XQuery / FO Processors page you have a "Browse" button expecially for XEP where you simply browse and choose xep.bat from the file chooser.
After choosing the path to the XEP executable you should be able to use the "XEP" processor in the DITA maps PDF2 transform.
Without a license, XEP will add some watermark at the end of each page, one of the PDF files I recently sent you was made using it...
Also, Renderx offers a special Oxygen-XEP bundle at a very good price here:
http://www.renderx.com/tools/docbench.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: PDF2 - Error processing foreign attribute: "link-back"
The result of applying the PDF2 stylesheets is a FO file.jnielsen wrote:Also are you saying that the XEP transform should not be necessary with the customizations you made to the FOP transform? Thanks.
~Josh
Depending on the chosen processor the file will be used to render PDF using Apache FOP or XEP.
The FO file is generated by default with some specific XEP extensions and that is why Apache FOP complains in the console but these are just warnings.
On the other hand, XEP is a better FO processor so differences exist expecially when rendering large images (XEP does a better job scaling them), tables.
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 13
- Joined: Thu Feb 04, 2010 10:37 pm
Re: PDF2 - Error processing foreign attribute: "link-back"
What version of Java are you using? We have noticed the same issue with a release of IBM JDK 6.0 SR7. If we move to an earlier service release, then everything is fine. We are using DITA-OT 1.5 and the "pdf" transtype.
Kind regards,
Eric
Kind regards,
Eric
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