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"
> <> 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: