On Sat, Jan 21, 2006 at 04:56:01PM -0300, Jorge Arellano Cid wrote:
I like the idea of fixing the comment bug
Hi Jorge, note that the HTML (i.e., SGML) comment rules allow not only spaces as in <!-- comment -- > but also repeated comments as in <!-- comment -- -- bla bla -- > Maybe the space in the middle can even be omitted so as to yield "----". (I don't have an SGML reference at home.) More generally, comments are allowed in (at least?) "<!" constructs, as in the following example, taken from the HTML 4.01 DTD: <!ELEMENT HR - O EMPTY -- horizontal rule --> But usually web browsers don't support these elements apart from "pure" comments as above. In XHTML (i.e., XML), rules are much simpler: a comment starts with "<!--" and ends with the first occurence of "--", which must be followed by ">". All the best, -- Matthias Franz