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


Hi Raymond:
The basic problem here is that you are not seeing the actual error message
coming from the process when you run it with Saxon in the Oxygen editor, so
we are left guessing what the problem is.  Try running it with Xalan as the
processor.  Also, please post the complete content of foo.xml and foo.ent so
we can try it.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Raymond" <support@bigriverinfotech.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Thursday, July 07, 2005 8:05 AM
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

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org






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