nsgmls doesn't work
Hiroki Sato
hrs at FreeBSD.org
Fri Mar 12 17:00:01 UTC 2004
Manuel Hernandez <manu at whitecats.mine.nu> wrote
in <20040311204542.GA1418 at whitecats.mine.nu>:
manu> Example 1: Docbook document (from CVS)
manu> $ cd /usr/doc/en_US.ISO8859-1/books/faq
manu> $ nsgmls -c /usr/doc/en_US.ISO8859-1/share/sgml/catalog -s book.sgml
manu>
manu> nsgmls:book.sgml:1:73:W: cannot generate system identifier for public
manu> text "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN"
Does "make lint" work?
When you use nsgmls, you need to specify catalogs which are used in the
document appropriately.
manu> Example 2: XHTML 1.0 document
manu> (this page was validated with http://validator.w3.org/check)
manu>
manu> $ nsgmls -s /home/user/index.html
manu> nsgmls:/usr/local/share/xml/dtd/xhtml/xhtml1-transitional.dtd:273:27:E:
manu> omitted tag minimization parameter can be omitted only if "OMITTAG NO"
manu> is specified on the SGML declaration
And when you use nsgmls for XML docs, you need to specify a SGML
declaration for the XML specification.
--
| Hiroki SATO
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20040313/c88c9770/attachment.sig>
More information about the freebsd-doc
mailing list