On Thu, Mar 22, 2007 at 11:28:37PM +0000, Matthew Burgess wrote:
> On Thursday 22 March 2007 21:54, Ken Moffat wrote:
> >  Is there something I should have done to transition from a 4.4
> > installation which used to work?  I've built sgml-common and
> > docbook-4.5 per blfs, and now attempts to render the book choke.
> >
> > appendices/acknowledgments.xml:387: parser error : Entity 'ndash'
> > not defined
> >       &lt;[EMAIL PROTECTED]&gt; &ndash; LFS Technical Writer</para>
> 
> The &ndash; entity should be defined 
> in /usr/share/xml/docbook/xml-dtd-4.5/ent/isopub.ent.
> 
> > warning: failed to load external
> > entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd";
> 
> This sounds very much like your /etc/xml/catalog and/or /etc/xml/docbook 
> catalogues aren't configured correctly.
 Indeed.
> 
> /etc/xml/catalog should have the following entries:
> 
> <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook XML" 
> catalog="file:///etc/xml/docbook"/>
>   <delegatePublic publicIdStartString="-//OASIS///DTD DocBook XML" 
> catalog="file:///etc/xml/docbook"/>
>   <delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/"; 
> catalog="file:///etc/xml/docbook"/>
>   <delegateURI uriStartString="http://www.oasis-open.org/docbook/"; 
> catalog="file:///etc/xml/docbook"/>
> 
> /etc/xml/docbook should have the following entries:
> 
> <public publicId="-//OASIS//DTD DocBook XML V4.5//EN" 
> uri="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/>                
>                             
> <public publicId="-//OASIS//DTD DocBook XML CALS Table Model V4.5//EN" 
> uri="file:///usr/share/xml/docbook/xml-dtd-4.5/calstblx.dtd"/>                
>            
> <public publicId="-//OASIS//DTD DocBook XML Exchange Table Model 
> 19990315//EN" uri="file:///usr/share/xml/docbook/xml-dtd-4.5/soextblx.dtd"/>  
>                  
> <public publicId="-//OASIS//ELEMENTS DocBook XML Information Pool V4.5//EN" 
> uri="file:///usr/share/xml/docbook/xml-dtd-4.5/dbpoolx.mod"/>                 
>       
> <public publicId="-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.5//EN" 
> uri="file:///usr/share/xml/docbook/xml-dtd-4.5/dbhierx.mod"/>                 
>     
> <public publicId="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" 
> uri="file:///usr/share/xml/docbook/xml-dtd-4.5/htmltblx.mod"/>                
>            
> <public publicId="-//OASIS//ENTITIES DocBook XML Notations V4.5//EN" 
> uri="file:///usr/share/xml/docbook/xml-dtd-4.5/dbnotnx.mod"/>                 
>              
> <public publicId="-//OASIS//ENTITIES DocBook XML Character Entities V4.5//EN" 
> uri="file:///usr/share/xml/docbook/xml-dtd-4.5/dbcentx.mod"/>                 
>     
> <public publicId="-//OASIS//ENTITIES DocBook XML Additional General Entities 
> V4.5//EN" uri="file:///usr/share/xml/docbook/xml-dtd-4.5/dbgenent.mod"/>      
>      
> <rewriteSystem 
> systemIdStartString="http://www.oasis-open.org/docbook/xml/4.5"; 
> rewritePrefix="file:///usr/share/xml/docbook/xml-dtd-4.5"/>                   
>    
> <rewriteURI uriStartString="http://www.oasis-open.org/docbook/xml/4.5"; 
> rewritePrefix="file:///usr/share/xml/docbook/xml-dtd-4.5"/>
> 
 Somehow, I didn't have any of these 4.5 entries in either file.
Pasted, but it still moans about mndash, ndash, AElig, and gives me
loads of the "failed to load external entity" warnings for
docbookx.dtd.  A look at the detail of the output shows that the
entities are indeed missing.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to