W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > October 1996

Re: B.11 Empty end-tags?

From: Charles F. Goldfarb <Charles@SGMLsource.com>
Date: Sun, 13 Oct 1996 15:58:07 GMT
To: bosak@atlantic-83.Eng.Sun.COM (Jon Bosak)
Cc: w3c-sgml-wg@w3.org, bosak@atlantic-83.Eng.Sun.COM
Message-ID: <326110cd.310202@mail.alink.net>
On Sat, 12 Oct 1996 21:08:49 -0700, bosak@atlantic-83.Eng.Sun.COM (Jon Bosak)
wrote:

>Guarantee that all end tags contain the GI, and you enable incredibly
>powerful operations to be performed on arbitrarily large collections
>of documents from a single Korn shell command line.  Take away that
>guarantee, and suddenly you have to maintain a stack. 

I don't disagree with requiring all end-tags to contain the element type name.
However, you'll still have to maintain a stack because, for example, OLs can
nest in LIs, so you can't simply scan for the next </OL> to match a given <OL>.
--
Charles F. Goldfarb * Information Management Consulting * +1(408)867-5553
           13075 Paramount Drive * Saratoga CA 95070 * USA
  International Standards Editor * ISO 8879 SGML * ISO/IEC 10744 HyTime
 Prentice-Hall Series Editor * CFG Series on Open Information Management
--
Received on Sunday, 13 October 1996 11:59:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:25:04 UTC