This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: openjade going into an endless loop


On Fri, Jun 28, 2002 at 11:25:53AM +0200, Yann Dirson wrote:
> On Fri, Jun 28, 2002 at 10:57:51AM +0200, Marc Haber wrote:
> > I would like to use the ldp style sheets from ldp-docbook-dsssl, but
> > when I try to build HTML using
> >  openjade -t xml -d /usr/share/sgml/docbook/stylesheet/dsssl/ldp/ldp.dsl#html firstdocbook.xml
> > I get a truckload of error messages saying
> > "openjade:/usr/share/sgml/dtd/catalog:18:0:W: DTDDECL catalog entries are not supported"
> > for a lot of files.
> 
> You'll find my runjade script in the sgml2x package.  Among other
> things it filters out those annoying warnings.  Just prefix your
> "openjade" command with "runjade".

Neat. Thanks.

> The real fix would be to see how it is that jade does not spit those
> warnings, and port the changes into openjade1.3.

... which is clearly beyond my scope of knowledge.

> > After the DTDDECL warnings, I get some error messages:
> > openjade:/usr/share/sgml/docbook/stylesheet/dsssl/ldp/ldp.dsl:264:9:E: "element" is not the name of any flow object class
> 
> Strange.  That looks like "element" has not been declared, although it
> is declared by the modular stylesheets, of which ldp.dsl inherits...

Your script has been helpful in finding out even more errors ;)
|haber@karen[11/511]:~/docbook$ runjade  openjade -t xml -d /usr/share/sgml/docbook/stylesheet/dsssl/ldp/ldp.dsl#html firstdocbook.xml
|openjade:/usr/share/sgml/docbook/dtd/xml/4.1/docbookx.dtd:74:17:E: "X20AC" is not a function name
|openjade:/usr/share/sgml/entities/xml-iso-entities-8879.1986/ISOamsa.ent:6:19:E: "X21B6" is not a function name
|openjade:/usr/share/sgml/entities/xml-iso-entities-8879.1986/ISOamsa.ent:7:19:E: "X21B7" is not a function name

<snip>

so the "element" error may not be the "real" problem

> Try with all 3 jade variants, and see whether they differ in behaviour.

You mean jade, openjade and what's the third?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Karlsruhe, Germany |  lose things."    Winona Ryder | Fon: *49 721 966 32 15
Nordisch by Nature |  How to make an American Quilt | Fax: *49 721 966 31 29


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]