ports/63035: textproc/xhtml-basic: fix SGMLDECL problem
Jacques A. Vidrine
nectar at FreeBSD.org
Wed Mar 3 14:07:03 UTC 2004
On Tue, Mar 02, 2004 at 02:44:11PM +0900, Hiroki Sato wrote:
> Hi, sorry for the delay.
>
> "Jacques A. Vidrine" <nectar at freebsd.org> wrote
> in <20040219150116.GC55843 at madman.celabo.org>:
>
> nectar> > http://www.freebsd.org/cgi/query-pr.cgi?pr=63035
> nectar>
> nectar> Hmm, the SGMLDECL is required for jade and nsgmls. Perhaps someone on
> nectar> freebsd-doc@ can explain the best way to set this up to support the
> nectar> widest variety of tools.
>
> It is true, but SGMLDECL is too strong so that if ${PREFIX}/share/sgml/
> catalog.ports is used and one of the catalogs has SGMLDECL "xml1.dcl",
> tools such as nsgmls assume that all documents are written in XML.
> So people cannot use SGML docs with this declaration. SGMLDECL is
> for stand-alone, DTD specific catalog, and one of the features that
> should not be used in the catalog-chain like ${PREFIX}/share/sgml/
> catalog.ports.
Ah, that makes some sense! Thank you.
> How about using DTDDECL instead? DTDDECL is a more reasonable
> solution. Some old tools do not support this, but the SGML declaration
> for the standard SGML and the standard XML are usually built-in
> the SGML/XML tools, so I do not think that is problematic.
>
> Please let me know if you need a patch, thanks.
I'm not familiar with DTDDECL, so a patch would be great! Does nsgmls
grok DTDDECL?
Cheers,
--
Jacques Vidrine / nectar at celabo.org / jvidrine at verio.net / nectar at freebsd.org
More information about the freebsd-doc
mailing list