Re: SGML to HTML Problem



On tue, 25 jan 2000, you wrote:
> Vivien Malerba wrote:
> > 
> > On ven, 21 jan 2000, Charbel JACQUIN wrote:
> > > Vivien Malerba wrote:
> > > >
> > > > > With Docbook 3.1 the public identifier is now something like : "-//OASIS/DTD DocBook V3.1//EN". You
> > > > > should fix your <!DOCTYPE ...> statement.
> > 
> > I must have a bad installation, because after modifying my CATALOG file, I get
> > some errors which says it does not understand some tags in the docbook.dcl
> > file.
> > So for the moment, it seems faster for me to read directly the sgml code!
> > 
> > Thanks anyway!
> > 
> Hmm, I see. Docbook DTD definition, should reside in a file named 
> "docbook.dtd" (and not "docbook.dcl", I dont really know what is the purpose of this file).
> If you find this "docbook.dtd" file somewhere form the directory containing 
> your CATALOG file, say "foo/bar/docbook.dtd" you should try to append (or modifiy)
> the revelant line to your CATALOG: 
> 
> PUBLIC "-//OASIS/DTD DocBook V3.1//EN"	"foo/bar/docbook.dtd"

I have modified my CATALOG file:
* removed the lines 
-- SGML declaration associated with DocBook ............................. --
DTDDECL "-//OASIS//DTD DocBook V3.1//EN" "docbook.dcl"
* modified the line
PUBLIC "-//OASIS//DTD DocBook V3.1//EN" "docbook.dtd"
to
PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd"

and now, the errors I get seem related to the validity(?) of the gnome-db.sgml
file because I get errors like:
jade:../gnome-db.sgml:74:9:E: document type does not allow element "PARA" here; missing one of "FOOTNOTE", "MSGTEXT", "CAUTION", "IMPORTANT", "NOTE", "TIP", "WARNING", "BLOCKQUOTE", "INFORMALEXAMPLE" start-tag
jade:../gnome-db.sgml:80:9:E: document type does not allow element "PARA" here; missing one of "FOOTNOTE", "MSGTEXT", "CAUTION", "IMPORTANT", "NOTE", "TIP", "WARNING", "BLOCKQUOTE", "INFORMALEXAMPLE" start-tag

I will try to install the version 3.0 of docbook (and not 3.1 as I have now).
> 
> As soon as I have access to my machine, I'll send you a listing of my CATALOG file
> and my /usr/local/share/sgml directory.
> 
> Regards,
> Charbel.
> 

Thanks



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]