W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > January 1997

Re: Production 21 (and others)

From: Gavin Nicol <gtn@ebt.com>
Date: Wed, 29 Jan 1997 11:50:44 -0500
Message-Id: <199701291650.LAA00646@nathaniel.ebt>
To: crm@kirk.mit.edu
CC: w3c-sgml-wg@www10.w3.org
>The regexp should bar *-- within a comment (and -- unless the TC
>passes in time).  Even though, from XML's point of view, only *--> can
>end a comment, these are still SGML comments, and *-- as comc would
>still end the comment within the comment declaration.

Good point. The more restrictive form is:

    "<!--*"([^*]|("*"[^-])|("*-"[^-]))*"*-->"

Hmm. What does that say about "]]>" in data...
Received on Wednesday, 29 January 1997 11:52:37 UTC

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