- From: Jonathan Robie <jonathan.robie@datadirect.com>
- Date: Wed, 13 Oct 2004 12:47:09 -0400
- 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; Jerry&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