[ 
https://issues.apache.org/jira/browse/CLK-668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881154#action_12881154
 ] 

Bob Schellink commented on CLK-668:
-----------------------------------

I cleaned up the examples, controls and javascript that used the form name. 
However I don't think it will be possible to drop the "name" attribute since it 
is often used by JavaScript to reference the form from the document:

document.myform.elements

Looking at the following link, Click "violates" other validations as well.

http://tng.lythgoes.net/wiki/index.php?title=XHTML_Validation_-_Strict

These ones are interesting: 

- there is no attribute "target". Change URLs with target="_blank" to use 
open.window javascript
- Add <div> in front of <select statement. The form-element cannot have inline 
elements, like select, as direct child.
- Add </div> after <input statement and before </form> The form-element cannot 
have inline elements, like input, as direct child.



> Form startTag breaks XHTML 1.0 Strict validation
> ------------------------------------------------
>
>                 Key: CLK-668
>                 URL: https://issues.apache.org/jira/browse/CLK-668
>             Project: Click
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 2.2.0
>            Reporter: Alkiviades Kafkis
>            Priority: Minor
>             Fix For: 2.3.0-M1
>
>
> name attribute isn't supported by XHTML 1.0 Strict

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to