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

Re: simplifying comments in SGML '97

From: <lee@sq.com>
Date: Wed, 11 Dec 96 15:33:47 EST
Message-Id: <9612112033.AA09370@sqrex.sq.com>
To: w3c-sgml-wg@w3.org, U35395@UICVM.UIC.EDU

I have always used --*......*-- for SGML comments in the hope that one
day it would be possible to make these be comment start & end delimiters,
and I would very much like to see this done for XML.

I think that XML would not be harder to parse if the rule was that a comment
could appear anywhere S could appear; this is very close to the SGML rules,
with the exception that there are some places (e.g. within a content model)
where 8879 forgot (I assume) to allow comments.

This approach encourages (but does not enforce) an implementation in which
comments are stripped at the tokeniser level.

At any rate, I favour the separate delimiters.

Received on Wednesday, 11 December 1996 15:38:05 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:20 UTC