W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2008

[widgets] Trimming attribute values, a bad idea?

From: Marcos Caceres <marcosscaceres@gmail.com>
Date: Wed, 3 Dec 2008 02:51:13 +0000
Message-ID: <b21a10670812021851h156f68eer32512a8e03603578@mail.gmail.com>
To: public-webapps <public-webapps@w3.org>

Got a question... I've relaxed keyword attributes to be allowed to
have leading and trailing whitespace. Now, widget user agents are
required to trim whitespace prior to validation/processing. Widget
user agents must only perform literal comparisons with trimmed values,
and must not perform case insensitive comparisons.

So, for instance, <access network="     false    "> is ok.

Does anyone see any problem with this? Should I revert back to being
strict and having UA do comparisons without trimming?

Kind regards,

Marcos Caceres
Received on Wednesday, 3 December 2008 02:52:02 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:12 UTC