[Seaside] Force lowercase for attributes

Philippe Marschall philippe.marschall at gmail.com
Tue Feb 13 06:17:24 UTC 2007


2007/2/12, Boris Popov <boris at deepcovelabs.com>:
> Then we should have WAHtmlAttributes and WAXmlAttributes, depending on
> application's configuration?

I'd rather say deeding on the brush.

But you shouldn't have to use #attributeAt:put: anyway. I thought I
fixed all senders in Seaside. Do I have overlooked something or do you
miss certain attributes on certain elements?

Philippe

> -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: seaside-bounces at lists.squeakfoundation.org
> [mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of
> Philippe Marschall
> Sent: Monday, February 12, 2007 1:26 PM
> To: The Squeak Enterprise Aubergines Server - general discussion.
> Subject: Re: [Seaside] Force lowercase for attributes
>
> 2007/2/12, Boris Popov <boris at deepcovelabs.com>:
> > 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]
>
> Please no, we had that once and I itentionally removed it. The problem
> is that although that all the XHTML attribute names are lowercase that
> is not true for all XML like RSS.
>
> Philippe
>
> > 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.
> >
> > _______________________________________________
> > Seaside mailing list
> > Seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the Seaside mailing list