Re: [docbook-apps] Website layout - autolayout Transformation Errors

From
Qaymond
Date
2005-07-07T15:05:49+00:00
ID
Thread
Re: [docbook-apps] Website layout - autolayout Transformation Errors
> That means the <webpage> element in foo.xml should have an id attribute.

The id is required and implemented but did not solve the problem:

----------------------------------------
 <!DOCTYPE webpage PUBLIC "-//Norman Walsh//DTD Website Full V2.6//EN"
        "file:///usr/local/docbook-website/schema/dtd/website-full.dtd"
        [
        <!ENTITY % sharedEntities SYSTEM 
"file:///_srcBase_/foo/website/foo.ent">
        %sharedEntities;
        ]>
---------------------------------------

fails with error 128 while

---------------------------------------
 <!DOCTYPE webpage PUBLIC "-//Norman Walsh//DTD Website Full V2.6//EN"
        "file:///usr/local/docbook-website/schema/dtd/website-full.dtd">
-------------------------------------

transforms without error.
Note _srcBase_ is defined in a global catalog as

------------------------------------------------------------------------------
<rewriteSystem
  systemIdStartString="file:///_srcBase_/"
                rewritePrefix="file:///home/foo/docbook/" />
----------------------------------------------------------------------------------

and is resloved prior to 

------------------------------------------------------------------------------
<nextCatalog catalog="catalog.xml"
      xml:base="file:///usr/local/docbook-website/" />
----------------------------------------------------------------------------------

Works fine with both docbook.xsl and chunk.xsl wien transforming docbook 
documents.

Would appear the autolayout stylesheet may not like Entity declarations ...

Raymond