|
Posted by Jerry Stuckle on 09/01/07 19:16
Fabio wrote:
> "Andy Hassall" <andy@andyh.co.uk> ha scritto nel messaggio
> news:cstgd3deiq9qg24enfr57nledbv4cn0bub@4ax.com...
>
>>> Good, this works... also if the "[]" is not valid in html4 name attribute
>>> :)
>> It is valid.
>>
>>> http://www.w3.org/TR/html4/types.html#type-name
>>>
>>> ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed
>>> by any number of letters, digits ([0-9]), hyphens ("-"), underscores
>>> ("_"),
>>> colons (":"), and periods (".").
>> The name attribute is not of type NAME, see the DTD (and previous
>> discussions).
>>
>> http://www.w3.org/TR/html4/interact/forms.html#adef-name-INPUT
>
> ???
> this page tell exactly what I read:
>
> ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed
> by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"),
> colons (":"), and periods (".").
>
> so... NO "[]"
>
>
>
If that were the case, it wouldn't work, would it? But it does. On
every server, with every version of PHP, with every browser...
It does because you're looking at the wrong stuff. As Andy said, the
name attribute is not of type NAME. Look at the DTD.
Argue all you want. ELINTPimp and Andy gave you the correct answer.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|