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

From
Dave Pawson <>
Date
2008-10-22T16:44:48+00:00
ID
Thread
Re: [docbook-apps] db v5, xsl-fo output. Undefined entity
Bob Stayton wrote:
> 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?


<aside> I do hate BobS with his pedantics <grin/> </aside>
Sorry Bob, yes, I did pick up the /fo/docbook.xsl file.

AFAIK that file is introducing nbsp as an entity.

IMHO that is wrong (for docbook users)



regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk