Re: minor technical comments on A.4 Comments

Fred Zemke wrote:
> First comment:
> Comments are line-terminated, but you have not defined your line 
> terminators.
> Are they the same as the characters that are normalized by XML 1.0?
> by XML 1.1?

I've added that comments are terminated by 0x0D or 0x0A (if there are multiple
such characters, then they would be considered as white space in a part of the
grammar where white space is only considered as token separators).

I've also added that a comment is treated as white space and comments separate
tokens.

> 
> Second comment:
> Established practice in languages has moved away from line-terminated
> comments.  This is out of step with many
> W3C recommendations, such as XML and XQuery.
> Languages that originally had only line-terminated comments
> subsequently decided that they need delimited comments (SQL, for example).

In an earlier design, comment forms of single and multiline forms were
included.  The working group was more in favour of just one form and to follow 
the style of scripting languages.

> 
> Fred Zemke
> 

I hope this addresses your comments - please let us know if it does.

	Andy

Received on Tuesday, 17 January 2006 12:59:14 UTC