DITA-OT PDF2 validation scenario
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 116
- Joined: Fri Apr 08, 2011 7:58 am
DITA-OT PDF2 validation scenario
Hi
Does anyone know how to make the validation scenario for DITA-OT (2.0) PDF2 plug-in?
Today I made my validation scenario using xsl/fo/topic2fo_shell_axf.xsl as root stylesheet. But I got following validation error from oXygen 16.1.
System ID: D:\DITA-OT\DITA-OT2.0\plugins\org.dita.pdf2\xsl\fo\links.xsl
Main validation file: D:\DITA-OT\DITA-OT2.0\plugins\org.dita.pdf2\xsl\fo\topic2fo_shell_axf.xsl
Scenario name: PDF2
Engine name: Saxon-EE 9.5.1.7
Severity: fatal
Description: XPST0017 XPath syntax error at char 104 on line 385 near {...omit-from-unordered-links(....}: Cannot find a matching 1-argument function named {http://dita-ot.sourceforge.net/ns/20070 ... ered-links()
Start location: 385:144
URL: http://www.w3.org/TR/xpath20/#ERRXPST0017
System ID: D:\DITA-OT\DITA-OT2.0\plugins\org.dita.pdf2\xsl\common\vars.xsl
Main validation file: D:\DITA-OT\DITA-OT2.0\plugins\org.dita.pdf2\xsl\fo\topic2fo_shell_axf.xsl
Scenario name: PDF2
Engine name: Saxon-EE 9.5.1.7
Severity: fatal
Description: XTSE0650: No template exists named getVariable
Start location: 44:43
URL: http://www.w3.org/TR/xslt20/#err-XTSE0650
Thanks,
Toshihiko Makita
Does anyone know how to make the validation scenario for DITA-OT (2.0) PDF2 plug-in?
Today I made my validation scenario using xsl/fo/topic2fo_shell_axf.xsl as root stylesheet. But I got following validation error from oXygen 16.1.
System ID: D:\DITA-OT\DITA-OT2.0\plugins\org.dita.pdf2\xsl\fo\links.xsl
Main validation file: D:\DITA-OT\DITA-OT2.0\plugins\org.dita.pdf2\xsl\fo\topic2fo_shell_axf.xsl
Scenario name: PDF2
Engine name: Saxon-EE 9.5.1.7
Severity: fatal
Description: XPST0017 XPath syntax error at char 104 on line 385 near {...omit-from-unordered-links(....}: Cannot find a matching 1-argument function named {http://dita-ot.sourceforge.net/ns/20070 ... ered-links()
Start location: 385:144
URL: http://www.w3.org/TR/xpath20/#ERRXPST0017
System ID: D:\DITA-OT\DITA-OT2.0\plugins\org.dita.pdf2\xsl\common\vars.xsl
Main validation file: D:\DITA-OT\DITA-OT2.0\plugins\org.dita.pdf2\xsl\fo\topic2fo_shell_axf.xsl
Scenario name: PDF2
Engine name: Saxon-EE 9.5.1.7
Severity: fatal
Description: XTSE0650: No template exists named getVariable
Start location: 44:43
URL: http://www.w3.org/TR/xslt20/#err-XTSE0650
Thanks,
Toshihiko Makita
--
/*--------------------------------------------------
Toshihiko Makita
Development Group. Antenna House, Inc. Ina Branch
Web site:
http://www.antenna.co.jp/
http://www.antennahouse.com/
--------------------------------------------------*/
/*--------------------------------------------------
Toshihiko Makita
Development Group. Antenna House, Inc. Ina Branch
Web site:
http://www.antenna.co.jp/
http://www.antennahouse.com/
--------------------------------------------------*/
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: DITA-OT PDF2 validation scenario
Hi Toshihiko,
One more thing to do.
The XSLT stylesheets refer to certain XSLT stylesheets using a special "cfg:" prefix like:
which is resolved via the XML catalogs.
So you should go to the Oxygen Preferences->XML / XML Catalog page and add in the Catalogs list links to two XML catalogs:
DITA-OT2.0.1/plugins/org.dita.pdf2/cfg/catalog.xml
and:
DITA-OT2.0.1/catalog-dita.xml.
Because if you do not do that, Oxygen will find the mappings in the XML catalogs added by the DITA Open Toolkit distribution which is bundled with it (the older DITA OT 1.8.5).
Regards,
Radu
One more thing to do.
The XSLT stylesheets refer to certain XSLT stylesheets using a special "cfg:" prefix like:
Code: Select all
<xsl:import href="cfg:fo/xsl/custom.xsl"/>
So you should go to the Oxygen Preferences->XML / XML Catalog page and add in the Catalogs list links to two XML catalogs:
DITA-OT2.0.1/plugins/org.dita.pdf2/cfg/catalog.xml
and:
DITA-OT2.0.1/catalog-dita.xml.
Because if you do not do that, Oxygen will find the mappings in the XML catalogs added by the DITA Open Toolkit distribution which is bundled with it (the older DITA OT 1.8.5).
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 116
- Joined: Fri Apr 08, 2011 7:58 am
Re: DITA-OT PDF2 validation scenario
Hi Radu,
Thank you for your reply.
Now the validation works fine.
I appreciate you help.
Regards,
Toshihiko Makita
Thank you for your reply.
Now the validation works fine.
I appreciate you help.
Regards,
Toshihiko Makita
--
/*--------------------------------------------------
Toshihiko Makita
Development Group. Antenna House, Inc. Ina Branch
Web site:
http://www.antenna.co.jp/
http://www.antennahouse.com/
--------------------------------------------------*/
/*--------------------------------------------------
Toshihiko Makita
Development Group. Antenna House, Inc. Ina Branch
Web site:
http://www.antenna.co.jp/
http://www.antennahouse.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