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. LeeReceived on Wednesday, 29 January 1997 22:38:07 EST
This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 10:03:57 EDT