attributes and case sensitivity

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

attributes and case sensitivity

Philippe Marschall
Hi

I just discovered that Seaside sends #asLowercase to all element
attribute names. This might work well for html but causes havoc for
XML which is case sensitive (eg. 'isPermalink' in RSS, but probably
also onXxx for DOM Events). Is there a special reason for this?

Cheers
Philippe
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: attributes and case sensitivity

Lukas Renggli
> I just discovered that Seaside sends #asLowercase to all element
> attribute names. This might work well for html but causes havoc for
> XML which is case sensitive (eg. 'isPermalink' in RSS, but probably
> also onXxx for DOM Events). Is there a special reason for this?

DOM events are all specified in lowercase: onclick, onblur, onsubmit, ...

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside