Empty rich:messages breaks xhtml validation
-------------------------------------------

                 Key: RF-6828
                 URL: https://jira.jboss.org/jira/browse/RF-6828
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.0
            Reporter: Samuel Mendenhall
            Priority: Minor


When using rich:messages but there is no message the generated code looks like:

<dl id="messages" class="rich-messages message" style="display: none; 
null"></dl>

Which breaks xhtml validation with the message:

line 168 column 106 - Error: end tag for "dl" which is not finished  with cause 
description: "You have probably failed to include a required child element. 
Hence the parent element is "not finished", not complete. "

The SGML parser was being using in a validation plugin in Firefox.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to