Re: Comments on April XQuery drafts (long, sorry)

>  With the exception of XQuery on 
> comments, which is nondeterministic, unsafe, and positively encourages 
> bad practice.

Xpath 1 supports comments (if the parser reports them, all parsers used
with xslt 1 do report these as far as can see). It is therefore
necessary that Xpath2 does the same. Xquery could of course not do so,
but wouldn't this be an unneeded difference between the two languages?

Supporting comments in Xpath1/XSLT1 turns out to be very useful.
A very common use case is to make "identity transformations" with minor
adjustments, perhaps updating from one version of a dtd to the next.

Documents often contain comments for good reason and there is no reason
why these transforms should drop the comments.

David
(Not a member of the WG but signed up to this list)

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

Received on Thursday, 11 July 2002 18:05:28 UTC