You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2006/01/21 21:21:24 UTC

DO NOT REPLY [Bug 38345] New: - generates illegal attribute using xhtml="true"

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38345>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38345

           Summary: <html:html> generates illegal attribute using
                    xhtml="true"
           Product: Struts
           Version: 1.2.8
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Taglibs
        AssignedTo: dev@struts.apache.org
        ReportedBy: bruce_link@bcit.ca
                CC: bruce_link@bcit.ca


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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


DO NOT REPLY [Bug 38345] - Add support for XHTML 1.1 and XHTML 2.0 etc.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38345>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38345


niallp@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




------- Additional Comments From niallp@apache.org  2006-03-09 13:32 -------


*** This bug has been marked as a duplicate of 36813 ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


DO NOT REPLY [Bug 38345] - Add support for XHTML 1.1 and XHTML 2.0 etc.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38345>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38345


niallp@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|<html:html> generates       |Add support for XHTML 1.1
                   |illegal attribute using     |and XHTML 2.0 etc.
                   |xhtml="true"                |




------- Additional Comments From niallp@apache.org  2006-02-12 02:27 -------
Struts is outputing markup which conforms to XHTML 1.0:

   http://www.w3.org/TR/xhtml1/#normative

As you say though this is not valid for XHTML 1.1:

   http://www.w3.org/TR/xhtml11/changes.html#a_changes

Seems to me that we need to be able to generate either XHTML 1.0 or XHTML 1.1 
compliant markup (and XHTML 2.0 and beyond) and rather than XHTML="true" it 
would be better if we used XHTML="1.0", XHTML="1.1", XHTML="2.0" etc.

This is not a bug, since its working as designed, so I'm changing the title to 
reflect the wider requirement.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


DO NOT REPLY [Bug 38345] - generates illegal attribute using xhtml="true"

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38345>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38345





------- Additional Comments From bruce_link@bcit.ca  2006-01-21 21:23 -------
Created an attachment (id=17477)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=17477&action=view)
Patch should fix bug in struts 1.2.8


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


DO NOT REPLY [Bug 38345] - Add support for XHTML 1.1 and XHTML 2.0 etc.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38345>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38345


wsmoak@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |enhancement




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org