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]

openjade going into an endless loop


On Thu, Jun 13, 2002 at 05:52:39PM +0200, Marc Haber wrote:
> From a HOWTO, I pulled the following dsl file that
> allows me to customize both html and print output from the same dsl
> file:
> <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
> <!ENTITY % html "IGNORE">
> <![%html;[
> <!ENTITY % print "IGNORE">
> <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl>
> ]]>
> <!ENTITY % print "INCLUDE">
> <![%print;[
> <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl>
> ]]>
> ]>
> <style-sheet>
> <style-specification id="print" use="docbook">
> <style-specification-body>
> 
> ;; customize the print stylesheet
> 
> </style-specification-body>
> </style-specification>
> <style-specification id="html" use="docbook">
> <style-specification-body>
> 
> ;; customize the html stylesheet
> 
> </style-specification-body>
> </style-specification>
> <external-specification id="docbook" document="docbook.dsl">
> </style-sheet>

My firstdocbook.xml looks like this:
<?xml version="1.0" encoding='ISO-8859-1'?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"

"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd";[
<!ENTITY version "0.01">
]>

<article>
  <articleinfo>
    <author>
      <surname>Haber</surname>
      <firstname>Marc</firstname>
    </author>
    <title>Das Accountingsystem</title>
  </articleinfo>
  <section>
    <title>Einleitung</title>
  </section>
</article>


When I invoke
openjade -t xml -d style.dsl#html -o firstdocbook.html firstdocbook.xml
the system does not come back to the shell. No output file is being
written. After eating ten minutes of CPU time, I straces the still
running openjade process and found it to read catalog files over and
over again.

My notebook is running on Debian unstable:
haber@karen[72/570]:~$ COLUMNS=132 dpkg --list | grep -i
'\(sgml\|xml\|docbook\|jade\)' | cut -b 0-79
ii  docbook                     4.1.99really4.2.cr1-2       SGML DTD for author
ii  docbook-book                2.0.2-1                     html version of O'R
ii  docbook-dsssl               1.76-1                      Modular DocBook DSS
ii  docbook-xml                 4.1.99really4.2.cr2-1       XML DTD for DocBook
ii  jade                        1.2.1-28                    James Clark's DSSSL
ii  libexpat1                   1.95.2-6                    XML parsing C libra
ii  libosp2                     1.5pre5-5                   Runtime library for
ii  libostyle0                  1.4devel1-8                 Runtime libraries f
ii  libxml1                     1.8.17-2                    GNOME XML library
ii  libxml2                     2.4.22-1                    GNOME XML library
ii  openjade                    1.4devel1-8 		    Implementation of t
ii  psgml                       1.2.5-1                     An Emacs major mode
ii  sgml-base                   1.15                        utilities to mainta
ii  sgml-data                   1.5.5                       common SGML DTDs an
haber@karen[73/571]:~$

Does my stylesheet not fit the toolchain, or what else am I doing wrong?

Any hints will be appreciated.

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]