Re: Production 21 (and others)

>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