W3C home > Mailing lists > Public > public-diselect-editors@w3.org > April to June 2005

Re: Use of & > and < in XML based language is confusing

From: Rhys Lewis <rhys.lewis@volantis.com>
Date: Fri, 20 May 2005 10:13:15 +0100
Message-ID: <D18551A6C7EA6241B960D4909EB75DF5023091C6@squid.volantis-uk>
To: <public-diselect-editors@w3.org>
Cc: "W3C DIWG (E-mail)" <w3c-di-wg@w3.org>

Elliotte, 

Thanks very much for your comment on the DIWG's Content Selection for Device Independence Last Call and concerning the syntax of expressions. Your comment has been logged under the id Harold-2.

While DIWG agrees that the syntax of XPath expressions used within XML documents is less than elegant, it is mandated by the XPath specification. Where XPath is used within an XML document, such as XSLT or DISelect, escaping is mandated. There is a note to this effect in the discussion of Booleans in the XPath specification (see http://www.w3.org/TR/xpath#booleans).

XPath is already widely used within W3C specifications and creation of an entirely new syntax just for DISelect would be inappropriate. DISelect is also intended for use with other specifications, such as XForms, which also use XPath expressions. In such mixed environments, consistency is a key factor.

DIWG has decided to retain the use of XPath and hence the need for escaping.

Best wishes

Rhys Lewis, chair DIWG
Received on Friday, 20 May 2005 09:13:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:10 GMT