[
https://issues.apache.org/struts/browse/STR-2740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44084#action_44084
]
Paul Benedict commented on STR-2740:
------------------------------------
Added "xhtmlVersion" attribute to the <html:html> tag for XHTML 1.0, 1.1, 2.0,
and 5.0.
> Support for XHTML 1.1 and XHTML 2.0 etc.
> ----------------------------------------
>
> Key: STR-2740
> URL: https://issues.apache.org/struts/browse/STR-2740
> Project: Struts 1
> Issue Type: Improvement
> Components: Tag Libraries
> Affects Versions: 1.2.8
> Environment: Operating System: All
> Platform: All
> Reporter: Bruce Link
> Assignee: Paul Benedict
> Fix For: 1.4.0
>
> Attachments: HTMLTag.java.patch
>
>
> Using <html:html xhtml="true"> or <html:html lang="false" xhtml="true">
> results
> in <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
> being generated. The attribute lang="en-US" is not legal with XHTML 1.1. The
> tag is ignoring the fact that lang="false" This is because in the if statement
> that checks for this.lang || this.local the condition this.xhtml has been
> added.
> The bug is also in the latest version of HTMLTag.java in the repository.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.