This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Another website.dtd experience!
- To: docbook-apps at lists dot oasis-open dot org, ndw at nwalsh dot com
- Subject: Re: DOCBOOK-APPS: Another website.dtd experience!
- From: Bob Stayton <bobs at sco dot COM>
- Date: Mon, 06 Nov 2000 01:21:55 -0800 (PST)
> From: Norman Walsh <ndw@nwalsh.com>
>
> / Bob Bernstein <bob@ruptured-duck.com> was heard to say:
> | document! XSLT: Recursive reference "%dbnotn;". (Reference path:
> | (top-level)-%docbook;-%dbhier;-%dbnotn;-%dbnotn;) Xalan: was not
> | successful.
>
> This is a really frustrating bug in Xerces; it attempts to expand
> parameter entity references inside comments. Bad xerces, no donut!
Yes, it is a bug in Java Xerces 1.2, which is the version
bundled with Xalan 1.2 right now. But Xerces 1.2.1 is
available separately from http://xml.apache.org in the Xerces-J
area, and that version does work with the Docbook XML DTD.
Just put the new xerces.jar file in your CLASSPATH.
However, although Xalan 1.2 handles the html/docbook.xsl
stylesheet, it fails with the html/chunk.xsl stylesheet.
After parsing the file and the stylesheet without error,
Xalan fails in the transformation stage with:
Transforming...
Writing index.html for book
Call to extension element failed: File "http://www.jclark.com/xt" not found.
Writing forward.htm for preface
Call to extension element failed: File "http://www.jclark.com/xt" not found.
Xalan doesn't seem to be falling back to the
Xalan extension if the XT extension doesn't work.
Saxon has no problem with chunk.xsl.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The Santa Cruz Operation, Inc. fax: (831) 429-1887
email: bobs@sco.com