Henry Law
2006-12-12 10:04:49 UTC
I'm trying to get myself set up to do Docbook documentation (I was an
IBM Bookmaster man in a previous century so I'm expecting to feel right
at home ...). I've got PSGML installed and I can use xsltproc to
convert sample Docbook documents into HTML and PDF, but I'm stuck on
using emacs (XEmacs, actually) with the Docbook DTD: the latter seems to
have errors in it, which I can't believe. Can someone help, or point me
to some source of assistance? I've googled my error messages and a
number of other relevant topics and just made myself more confused.
Running under Windows XP I'm using the docbookx.dtd at version 4.5
downloaded direct from docbook.org. I've created a one-line SGML file
containing
<!DOCTYPE book system "file:///C:/SGML/DTD/Docbook-XML-4.5/docbookx.dtd">
When I use the "parse DTD" feature of PSGML within XEMacs it complains
as follows:
c:\SGML\DTD\Docbook-XML-4.5\ent\isotech.ent line 23 col 11 entity
common.attrib
c:\SGML\DTD\Docbook-XML-4.5\dbpoolx.mod line 847 col 31 entity dbpool
c:\SGML\DTD\Docbook-XML-4.5\docbookx.dtd line 136 col 8 entity BOOK
F:\WIP\test.sgml line 1 col 72
Name expected; at: :base CDATA
... and gives up. I downloaded a DTD parser called Matra from
SourceForge and used one of its features - production of a DTD tree - to
check the same DTD and confusingly got a different message: "Got null
entity for - 'sgml.features'." - I had a look at the DTD code but at my
current level of knowledge couldn't see anything wrong; and in any case
it's freshly downloaded and presumably doesn't contain obvious errors.
Can someone help me out of this fog?
IBM Bookmaster man in a previous century so I'm expecting to feel right
at home ...). I've got PSGML installed and I can use xsltproc to
convert sample Docbook documents into HTML and PDF, but I'm stuck on
using emacs (XEmacs, actually) with the Docbook DTD: the latter seems to
have errors in it, which I can't believe. Can someone help, or point me
to some source of assistance? I've googled my error messages and a
number of other relevant topics and just made myself more confused.
Running under Windows XP I'm using the docbookx.dtd at version 4.5
downloaded direct from docbook.org. I've created a one-line SGML file
containing
<!DOCTYPE book system "file:///C:/SGML/DTD/Docbook-XML-4.5/docbookx.dtd">
When I use the "parse DTD" feature of PSGML within XEMacs it complains
as follows:
c:\SGML\DTD\Docbook-XML-4.5\ent\isotech.ent line 23 col 11 entity
common.attrib
c:\SGML\DTD\Docbook-XML-4.5\dbpoolx.mod line 847 col 31 entity dbpool
c:\SGML\DTD\Docbook-XML-4.5\docbookx.dtd line 136 col 8 entity BOOK
F:\WIP\test.sgml line 1 col 72
Name expected; at: :base CDATA
... and gives up. I downloaded a DTD parser called Matra from
SourceForge and used one of its features - production of a DTD tree - to
check the same DTD and confusingly got a different message: "Got null
entity for - 'sgml.features'." - I had a look at the DTD code but at my
current level of knowledge couldn't see anything wrong; and in any case
it's freshly downloaded and presumably doesn't contain obvious errors.
Can someone help me out of this fog?
--
Henry Law <>< Manchester, England
Henry Law <>< Manchester, England