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] Are docbook xsl up-to-date?


Hello, Bob


On Thu, Mar 29, 2012 at 5:15 PM, Bob Stayton <bobs@sagehill.net> wrote:
> Based on the .fo file that Alberto sent to me, this appears to be a bug in
> FOP 1.0.  I can reproduce it by putting an indexterm inside an inline
> element inside a footnote. In general,  an indexterm generates an fo:wrapper
> element to hold the indexterm id marker.  When this fo:wrapper is inside an
> fo:inline, it appears to confuse FOP, but only when inside a footnote.

Thanks for the help. Before changing the docbook file, I'll poke fop
guys. I would love not to have to change the original document.

> Removing the fo:wrapper removes the error.  All other locations with that
> construction do not generate an error.  Two other XSL-FO processors did not
> produce an error.

Any of them is free and works on Mac OS X? :)

Thank you,
Alberto




>
> As a workaround, I would suggest avoiding putting indexterms inside inline
> elements inside footnotes.  Instead, put the indexterm just before or after
> the inline element.
>
>
> Bob Stayton
> Sagehill Enterprises
> bobs@sagehill.net
>
>
> ----- Original Message ----- From: "Alberto Simões" <hashashin@gmail.com>
> To: <docbook-apps@lists.oasis-open.org>
> Sent: Wednesday, March 28, 2012 4:08 AM
> Subject: [docbook-apps] Are docbook xsl up-to-date?
>
>
> Dear All,
>
> I am kind of new to this world of docbook.
> I managed to convert a validated docbook XML into a FO file.
> But then, fop complains that the FO file is not valid:
>
> SEVERE: Exception
> javax.xml.transform.TransformerException:
> org.apache.fop.fo.ValidationException: "fo:inline" is not a valid
> child of "fo:block"!  (See position 1870:716)
>
> Any idea what am I doing wrong?
> Or are the XSL needing some fix?
>
> Thank you
> Alberto
>
> --
> Alberto Simões
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
>



-- 
Alberto Simões


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