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


>> please post the complete content of foo.xml and foo.ent so we can try it. 
<<

foo.xml
------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
        <!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;
        ]>
<webpage id="home">
   <head>
      <title>Foo</title>
      <summary>Foo</summary>
      <keywords>Foo</keywords>
   </head>
   <para>Hello World</para>
</webpage>
<!-- EOF -->
-----------------------------------------------------------

foo.ent
-----------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!-- dependency modules -->
 <!ENTITY % xinclude SYSTEM "file:///_xincludeBase_/xinclude.mod">
 %xinclude; 
 <!-- core defines  -->
 <!ENTITY w3XInclude "http://www.w3.org/2001/XInclude";>
 <!-- misc defines  -->
  <!ENTITY datDesign "04APR2005" >
  <!ENTITY imgApplications "images/applications.png" >  
  <!ENTITY imgChecklist "images/checklist.gif">
  <!ENTITY imgDevelopment "images/development.png" >  
  <!ENTITY imgBanner "images/banner2.jpg" >
  <!ENTITY imgQuestion "images/question.png" >
  <!ENTITY locCO "Boulder.CO.US" >
  <!ENTITY locMD "Gaithersburg.MD.US" >
<!-- EOF -->
-----------------------------------------------------------

The offending code fragment is
------------------------------------------------------
[
        <!ENTITY % sharedEntities SYSTEM 
"file:///_srcBase_/foo/website/foo.ent">
        %sharedEntities;
 ]
----------------------------------------------------

Should this fragment appear in any document with a webpage or layout root, 
then error 128 is generated. Note that when using Xalan, error 128 is 
generated too, only a definition of "missing ID" is appended. Both saxon and 
xalan falsely identify an omittid id as the error.  Again, this does NOT 
occur when implementing docbook or chunk 1.68.1 stylesheets validated with a 
docbook 4.4 or 4.5 dtd.

Raymond


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