You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Alkiviades Kafkis (JIRA)" <ji...@apache.org> on 2010/05/01 11:13:58 UTC

[jira] Created: (CLK-668) Form startTag breaks XHTML 1.0 Strict validation

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
            Reporter: Alkiviades Kafkis
            Priority: Minor


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.


[jira] Commented: (CLK-668) Form startTag breaks XHTML 1.0 Strict validation

Posted by "Finn Bock (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLK-668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883671#action_12883671 ] 

Finn Bock commented on CLK-668:
-------------------------------

I've found that using XHTML 1.0 Transitional is a better fit for Click. The issues mentioned above are all allowed in Transitional. On the other hand I would really like to see better support for Strict, but I think it will require a config setting so the controls can check to see which html they should target.

> 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.


[jira] Updated: (CLK-668) Form startTag breaks XHTML 1.0 Strict validation

Posted by "Bob Schellink (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLK-668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bob Schellink updated CLK-668:
------------------------------

        Fix Version/s:     (was: 2.3.0-M1)
    Affects Version/s:     (was: 2.2.0)

removed from 2.3.0 roadmap

> 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
>            Reporter: Alkiviades Kafkis
>            Priority: Minor
>
> 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.


[jira] Commented: (CLK-668) Form startTag breaks XHTML 1.0 Strict validation

Posted by "Bob Schellink (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Updated: (CLK-668) Form startTag breaks XHTML 1.0 Strict validation

Posted by "Bob Schellink (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLK-668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bob Schellink updated CLK-668:
------------------------------

        Fix Version/s: 2.3.0-M1
    Affects Version/s: 2.2.0

Interesting. So is name only allowed for Fields? In that case we should also fix AbstractControl to not render the name attribute.

> 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.


[jira] Commented: (CLK-668) Form startTag breaks XHTML 1.0 Strict validation

Posted by "Bob Schellink (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLK-668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883842#action_12883842 ] 

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

In our company we've moved to the standard HTML5 doctype:

  <!DOCTYPE html>

This is supported by all modern browsers (even IE6) and switches the browser into standards mode.

I've found transitional quite problematic with IE and various JavaScript libraries, mostly with how CSS is interpreted.


> 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.