This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: <procedure> - Getting Extra Line in <step>
- From: Bob Stayton <bobs at caldera dot com>
- To: swheller at bigpond dot net dot au, docbook-apps at lists dot oasis-open dot org
- Date: Tue, 24 Dec 2002 06:52:55 -0800
- Subject: Re: DOCBOOK-APPS: <procedure> - Getting Extra Line in <step>
- References: <200212241724.19199.swheller@bigpond.net.au>
On Tue, Dec 24, 2002 at 05:24:19PM +1100, Sean Wheller wrote:
> On Date: Thu, 25 Jul 2002 12:28:08 -0600, "Thacker, Brad"
> <Brad_Thacker@jdedwards.com> wrote:
> From my experience, this appears to be a bug in the xsl stylesheets. I've
> >seen this problem for over a year, and I've upgraded through three versions
> >of docbook-xsl (I'm currently at 1.49). I was able to fix the problem by
> >adding the following template to my customization layer:
> >
> >
> ><xsl:template match="step/para[1]">
> > <fo:block>
> > <xsl:apply-templates/>
> > </fo:block>
> ></xsl:template>
>
> I don't know if the solution Brad posted, works or if any other patch was
> posted, so if somebody knows of a solution to this problem other than that
> posted by Brad please let me know.
>
> I have added Brads template suggestion to my customization layer, but when
> performing the transform from DocBook XML > FOP I get the following error:
>
> F org.xml.sax.SAXParseException: The prefix "fo" for element "fo:block" is not
> bound.
>
> I use the oXygen XML Editor for my editing. As I don't understand XSL-FO I am
> not able to dig into the problem myself. Hope somebody can help.
This is just a namespace problem. Look at the top
of the fo/docbook.xsl distribution file and
you will see how the fo: namespace is declared,
and copy that to your customization layer.
Has someone file a sourceforge bug report on this
problem?
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com