[Seaside] RE: Force lowercase for attributes
Boris Popov
boris at deepcovelabs.com
Mon Feb 12 19:44:59 UTC 2007
Sigh...
This ensure that code like,
anHtmlRoot bodyAttributes at: 'onKeyDown' put: 'onKeyDown(event)'
passes strict validation,
Thanks!
-Boris
--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4
boris at deepcovelabs.com
CONFIDENTIALITY NOTICE
This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.
Thank you.
-----Original Message-----
From: Boris Popov
Sent: Monday, February 12, 2007 11:44 AM
To: 'The Squeak Enterprise Aubergines Server - general discussion.'
Subject: Force lowercase for attributes
XHTML's attribute names are all lower-case, so how about the following
change?
WAHtmlAttributes>>at: keyString put: valueString
valueString ifNotNil:
[self attributes
at: keyString asLowercase
put: valueString]
By the way, I don't Squeak, otherwise I wouldn't have bothered the list
with it ;)
This ensure that code like,
-Boris
--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4
boris at deepcovelabs.com
CONFIDENTIALITY NOTICE
This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.
Thank you.
More information about the Seaside
mailing list