- From: Gavin Nicol <gtn@ebt.com>
- Date: Wed, 29 Jan 1997 11:50:44 -0500
- 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