[ 
https://issues.apache.org/jira/browse/TOMAHAWK-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400365#comment-13400365
 ] 

Leonardo Uribe commented on TOMAHAWK-1629:
------------------------------------------

Something like this was included in JSF 2.1 spec. I remember an issue related 
to this one: MYFACES-3276 xmlns property is set on attribute map as "". We can 
skip the problem just do not adding the property into the component, but 
rendering the attribute, otherwise it will work only with 2.1 jars. 


                
> Add 'lang' and 'xmlns' attributes to html root tag
> --------------------------------------------------
>
>                 Key: TOMAHAWK-1629
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1629
>             Project: MyFaces Tomahawk
>          Issue Type: Improvement
>          Components: Html Tag
>    Affects Versions: 1.1.11
>         Environment: MyFaces 2.1.4, Tomahawk20 1.1.11
>            Reporter: dennis hoersch
>         Attachments: DocumentRenderer.java, TOMAHAWK-1629.patch
>
>
> The document renderer that is used to render the 'html'-root element accepts 
> no additional attributes. 
> We have an use case where we need the 'xmlns' attribute to be rendered / 
> passthrough (for xhtml compatibility reasons) and the 'lang' attribute for 
> accessibility.
> I attached a patch that introduces this two attributes to the document.
> Maybe it be interesting for you.
> Greetings
> dennis
> (http://www.w3.org/TR/xhtml1/)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to