Next in thread → Next in month →

Re: [docbook-apps] Error in Apache Ant task with Saxon from DocBook to epub

From
Tony Graham <>
Date
2011-09-06T16:14:50+00:00
ID
Thread
Re: [docbook-apps] Error in Apache Ant task with Saxon from DocBook to epub
On 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                                   
Consultant                                 http://www.mentea.net
Mentea       13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
 --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
    XML, XSL FO and XSLT consulting, training and programming
Next in thread → Next in month →