- From: <lee@sq.com>
- Date: Wed, 29 Jan 97 22:37:36 EST
- To: crm@ebt.com, w3c-sgml-wg@www10.w3.org
Dhris Maden wrote: > 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. No. Using *-- as COMC would require SGML comments to look like <!*-- stuff *--> Existing SGML systems will use -- to delimit comments, and it is pure happenstance (to them) that all XML comments start and end with an asterisk. In fact, banning -- within comments until the TC passes is sufficient, since *-- contains --. After the TC passes (I hope!), it is only necessary to state that comments don't nest, so tht --* cannot appear within a comment, since an SGML system can then handle the new syntax. Lee
Received on Wednesday, 29 January 1997 22:38:07 UTC