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

Re: Production 21 (and others)

From: <lee@sq.com>
Date: Thu, 30 Jan 97 16:30:45 EST
Message-Id: <9701302130.AA26533@sqrex.sq.com>
To: w3c-sgml-wg@www10.w3.org
>  [21] Comment :=
>  "<!--*"([-*]|("-"("*""-"?)*[-*])|(("*""-"?)+[-*]))*("*"|"-*")+"-->"

I haven't tried this...

> 2 an expression for the XML rule of the future, forbidding *-- but
> not -- within comments:
> 
>  [21] Comment-of-the-future :=
>  "<!--*"([*]|(("*""-"?)+[-*]))*("*"|"-*")+"-->"

This didn't match <!--*-*--> when I tried it.

Folks, please stop this.
It won't help implementors.
It won't help users.

comment ::= <!--* comment_text *-->
comment_text ::= data_character*
comment_text may not include --

Lee
Received on Thursday, 30 January 1997 16:31:15 UTC

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