OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] xlink


Hi Jirka,
Given that this is an error condition, shouldn't the FO stylesheet output 
nothing except a helpful error message?  Outputting an <a> element to break 
the XSL-FO processing is a bad way of indicating an error.  I suspect this 
was just copied over from the HTML stylesheet, don't you?

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Jirka Kosek" <jirka@kosek.cz>
To: "Markus Redeker" <redeker@basis-audionet.de>
Cc: "docbook-apps" <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, January 24, 2007 12:32 PM
Subject: Re: [docbook-apps] xlink

Markus Redeker wrote:

> there seems to be a bug in the fo/graphics.xsl file of the 1.71.1
> stylesheets. In the "textdata" template occur the lines:
>
>     <xsl:otherwise>
>       <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"
>          href="{$filename}"/>
>     </xsl:otherwise>
>
> The <a> tag is obviously wrong, and fop doesn't accept it. It must
> probably be a <fo:something>, but which one?
>
> There are also <a> tags in "inlinegraphics" and "imagedata".

This is not bug. This output means that you are using XSLT processor
which doesn't support extensions (or you have turned off extensions)
necessary for resolving inclusion of external files. Try to set
use.extensions parameter to 1.

    Jirka




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]