W3C home > Mailing lists > Public > www-forms@w3.org > October 2009

Re: Semicolon better than ampersand as the default separator

From: Mark Birbeck <mark.birbeck@webbackplane.com>
Date: Tue, 20 Oct 2009 15:10:14 +0100
Message-ID: <640dd5060910200710y37685886l6d314a7288429fc4@mail.gmail.com>
To: Krzysztof Maczyński <1981km@gmail.com>
Cc: www-forms@w3.org, www-forms-editor@w3.org
Hi Krzysztof,

You are right that the ampersand needs escaping, but that is exactly
why it's a better choice as the default. With the change to XForms
1.1, authors only need to provide a value for @separator if the server
they are addressing uses semi-colons.

Regards,

Mark

--
Mark Birbeck, webBackplane

mark.birbeck@webBackplane.com

http://webBackplane.com/mark-birbeck

webBackplane is a trading name of Backplane Ltd. (company number
05972288, registered office: 2nd Floor, 69/85 Tabernacle Street,
London, EC2A 4RR)


2009/10/19 Krzysztof Maczyński <1981km@gmail.com>:
> Dear WG,
>
> Pardon the cross-posting, but I'm not sure to which list this should go.
>
> In XForms 1.1 PR the default of the separator attribute was changed to ampersand. Semicolon is a viable and fairly common alternative whose main advantage over ampersand is that it doesn't need escaping in XML and SGML.  See also [1] and [2]. Worse even, authors often fail to escape it, which results in errors. I'd like to ask you to reconsider this change and I'd rather see it reverted.
>
> Best regards,
>
> Krzysztof Maczyński
> Invited Expert, HTML WG
>
> [1] http://www.w3.org/DesignIssues/MatrixURIs
> [2] http://xmltoday.org/content/dancing-naked-streets-madman-takes-html-5#comment-2240
> (Not what you might expect having read that URI.)
>
>
Received on Tuesday, 20 October 2009 14:10:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:18 GMT