Re: [docbook-apps] db v5, xsl-fo output. Undefined entity

From
Bob Stayton <>
Date
2008-10-22T15:54:30+00:00
ID
005501c9345e$fd12d5d0$6a00a8c0@pazu
Thread
Re: [docbook-apps] db v5, xsl-fo output. Undefined entity
Hi Dave,
The FO processor is failing at the first step where it parses the FO 
content, because the FO file does not declare the &nbsp; entity.  The 
question is, how did that entity reference get into the FO file?

I'm not able to duplicate this problem.  Normally an XSLT processor would 
not write out a general entity like "&nbsp;" entity to the fo file.  It 
should be writing out a single utf-8 character.  Is this with a 
customization layer?  What XSLT processor are you using?

> {db5.home}/docbook-xsl/docbook.xsl

I'm not familiar with this.  Shouldn't that docbook.xsl file be in an fo 
subdirectory?

Bob Stayton
Sagehill Enterprises



----- Original Message ----- 
From: "Dave Pawson" <>
To: "Docbook Apps" <>
Sent: Wednesday, October 22, 2008 6:01 AM
Subject: [docbook-apps] db v5, xsl-fo output. Undefined entity


> <fo:block keep-with-next.within-column="always"
>    space-before.optimum="10pt" space-before.minimum="10pt * 0.8"
>    space-before.maximum="10pt * 1.2" hyphenate="false"
>    text-align="left" start-indent="0pt" hyphenation-character="-"
>    hyphenation-push-character-count="2"
>    hyphenation-remain-character-count="2">Chapter&nbsp;1.&nbsp;Chapter 
> title</fo:block>
>
>
> The nbsp isn't defined?
>
> transformed to fo using
>
> {db5.home}/docbook-xsl/docbook.xsl
>
>
> regards
>
>
>
>
>
> regards
>
> -- 
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>