W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2004

Re: qt-2004Feb0415-04: [XQuery] I18N last call comments

From: Jonathan Robie <jonathan.robie@datadirect.com>
Date: Wed, 13 Oct 2004 12:47:09 -0400
Message-ID: <416D5C0D.9070409@datadirect.com>
To: Jonathan Robie <jonathan.robie@datadirect.com>
CC: XML Query Comments <public-qt-comments@w3.org>, Martin Duerst <duerst@w3.org>, w3c-i18n-wg@w3.org

I neglected to add:

Please let us know if you object to this disposition of your issue.

Jonathan

Jonathan Robie wrote:
> 
> Hi Martin,
> 
> This is an official response from the W3C XML Query Working Group. In 
> [1], you said:
> 
>      [4] The special conventions for escaping quotes (production
>      [17]), apostrophes ([25]), and curly braces (should probably also
>      be a production of its own) may not be necessary. Character
>      references should be used, for convenience, named character
>      references for { and } could be defined.
> 
> Yes, this is certainly true. The escape mechanism is just a convenience, 
> and is often easier to use than character references, especially in a 
> stylesheet. Consider the following example:
> 
>  <template select="./[name = 'Ben &amp;amp; Jerry&amp;apos;s']"/>
> 
> It's easier to write this as:
> 
>  <template select="./[name = 'Ben && Jerry''s']"/>
> 
> And it's also easier to think about what this means.
> 
> Jonathan
> 
Received on Wednesday, 13 October 2004 16:47:43 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:22 UTC