Re: Production 21 (and others)

>  [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