[Home] [By Thread] [By Date] [Recent Entries]

  • From: MURATA Makoto <murata@a...>
  • To: xml-dev@i...
  • Date: Sat, 18 Jul 1998 01:06:44 +0900

Rob Cameron wrote:
> 
> If, as I assume, the answer is that only the double hyphen case
> is a concern, then the grammar needs to be changed.
> 
>    Comment ::= '<!--' (Char* - (Char* '--' Char*)) '-->'
> 

This is semantically identical to the current rule:

 Comment ::= '<!--' ((Char - '-') | ('-' (Char - '-')))* '-->'

I agree with you in that your proposal is clearer and more readable.  
In fact, I did the same proposal prior the XML PR, but it was not 
accepted.  Probably, I should try again in the next version of the 
XML specification.

Makoto
 
Fuji Xerox Information Systems
 
Tel: +81-44-812-7230   Fax: +81-44-812-7231
E-mail: murata@a...

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member