[Radiant] Mailer Behavior for Radiant XHTML Bug
Bodhi
bodhi at theplant.jp
Wed Sep 13 21:46:24 CDT 2006
On Sep 14, 2006, at 5:10 AM, Tom von Schwerdtner wrote:
> On 9/13/06, Dave Crossland <dave at lab6.com> wrote:
>> Hi,
>>
>> While validating my XHTML pages I got an error from the Mailer
>> Behavior:
>>
>> # Build the html form tag...
>> results = %Q(<form action="#{ url }" method="POST"
>>
>> can be
>>
>> # Build the html form tag...
>> results = %Q(<form action="#{ url }" method="post"
>>
>> and it validates. I'm not sure why it is capitalised? :-)
>
>
> The HTTP 1.1 spec says it needs to be:
>
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.1.1
>
> I can't imagine how that would affect validation. What is the
> validation error you were/are getting?
The HTTP spec isn't relevant when validating xhtml. When the browser
talks to the server over HTTP it has to be uppercase, but in xhtml
(judging from these validation results) it needs to be lowercase (and
thus the browser must convert it before talking to the server).
Not all that useful, but just in case anyone cares (^_^)
Bodhi
More information about the Radiant
mailing list