[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Error in Apache Ant task with Saxon from DocBookto epub
Ah, now the problem you have encountered is that the DocBook chunking stylesheet does not support Saxon 9. I cannot remember what the issues were. Can you substitute Saxon 6.5 for that Ant task?Sent: Tuesday, September 06, 2011 1:54 PMSubject: Re: [docbook-apps] Error in Apache Ant task with Saxon from DocBook to epubThanks Bob for the fast reaction. I tried with the new stylesheet can now I receive the following error message:
[xslt] : Error! Ambiguous rule match for /
[xslt] Matches both "document-node()" on line 102 of file:/home/vogella/workspace/delete/de.vogella.docbook.first/docbook-xsl/epub/docbook.xsl
[xslt] and "document-node()" on line 403 of file:/home/vogella/workspace/delete/de.vogella.docbook.first/docbook-xsl/xhtml-1_1/chunk-code.xsl
[xslt] Don't know how to chunk with SAXON 9.3.0.5 from Saxonica
[xslt] Failed to process null
The exact example can be found here: http://www.vogella.de/articles/DocBook/article.html#epub
2011/9/6 Bob Stayton <bobs@sagehill.net>
Thanks for the clarification. It has been fixed in source, and the latest snapshot build of the stylesheets reflects the update. ----- Original Message ----- From: "Tony Graham" <tgraham@mentea.net> Sent: Tuesday, September 06, 2011 9:14 AM
Subject: Re: [docbook-apps] Error in Apache Ant task with Saxon from DocBook to epubOn Tue, September 6, 2011 4:50 pm, Bob Stayton wrote:
I presume you are using Saxon 9? I get that error when I use Saxon 9, but
not when I use Saxon 6. I generally use Saxon 6 with the DocBook XSL
stylesheets since they are written in XSL 1.0, while Saxon 9 is written
for XSL 2.0.
It's listed as an error condition in XSLT 2.0 but not in XSLT 1.0.
However, there will be fewer and fewer people who bother to switch back to
a XSLT 1.0 processor just to run specific stylesheets, and since whether
the @priority is there or not doesn't matter to XSLT 1.0 processor, the
suggestion was to remove it to avoid potential confusion when people do
use a XSLT 2.0 processor on the stylesheets.
Regards,
Tony Graham tgraham@mentea.net
Consultant http://www.mentea.net
Mentea 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
XML, XSL FO and XSLT consulting, training and programming
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
--
Lars
http://www.vogella.de - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]