OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]