This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: jade: missing closing delimiter: LIGHT
Norman Walsh wrote:
> | I've changed this file and put the declaration in one line but
> | jade then claim the line is too long (more than 240 c).
> Did you make any other changes?
Not really. Just updated the catalog file for the ISO* files.
> The 3.1 distribution has been used without error by thousands.
This argument made me more desperate. I'm not desperated anymore
because the light has come.
> Maybe the default SGML declaration that Jade is using on your system
> doesn't have the limits set high enough. Try passing the docbook.dcl
> file to Jade right before your SGM file on the command line.
I don't exactly what's wrong but it is jade's fault. I used a remote
jade version from a old good Debian package and I obtained a c1.htm
file with just 43 "DTDDECL catalog entries are not supported". A good
point for packaged systems. So my homemade compiled jade version is
broken.
It is strange because the compilation was made without changing the
Makefile (just /opt -> /usr/local). I didn't see anything about jade
limitation in the Makefile. It was a long compilation but a successful
one. And the test:
$ jade -t sgml -d //usr/local/docbook/html/docbook.dsl jtest.sgm
passed with jtest.sgm the following content:
----------------------------------------------------------------
<!DOCTYPE MEMO [
<!ELEMENT MEMO - - (HEAD, BODY, END)>
<!ELEMENT HEAD - - (DATE, TO, SUBJECT)>
<!ELEMENT DATE - - (#PCDATA)>
<!ELEMENT TO - - (#PCDATA)>
<!ELEMENT SUBJECT - - (#PCDATA)>
<!ELEMENT BODY - - (PARA+)>
<!ELEMENT PARA - - (#PCDATA)>
<!ELEMENT END - - (CLOSING, SENDER)>
<!ELEMENT CLOSING - - (#PCDATA)>
<!ELEMENT SENDER - - (#PCDATA)>
]>
<memo>
<head>
<date>Feb 29, 1997</date>
<to>John Doe</to>
<subject>Test Document</subject>
</head>
<body>
<para>This is the first paragraph.</para>
<para>This is the second.</para>
<para>This is the last.</para>
<end>
<closing>Sincerely,</closing>
<sender>Jane Doe</sender>
</end>
</memo>
-----------------------------------------------------------------
I suggest to put my case in the "install problems" chapter, if any.
It is very bad bug for a newbie like me.
Another point: I commented out the "*.mod" entries in the docbook.cat
file and I obtain also a "c1.htm" file in good shape (with the broken
jade binarie). A strange point.
Now my problems are:
$ ldd /usr/local/bin/jade
libstyle.so.1 => not found
libgrove.so.1 => not found
libsp.so.1 => not found
libspgrove.so.1 => not found
libstdc++-libc6.0-1.so.2 => not found
but I will solve that easily, I hope. (the last one is no good for my
libc5 system)
I thank you very much Norman, because you didn't give me the answer
but you gave me some courage: "used without error by thousands".
Again, the network saved me.
Sorry for my poor English.
--
au revoir,
Gilles Lamiral. France, Rennes (35).