You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by bu...@apache.org on 2004/10/26 14:45:56 UTC

DO NOT REPLY [Bug 31895] New: - Input Taglibs fails W3C Validation

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

Input Taglibs fails W3C Validation

           Summary: Input Taglibs fails W3C Validation
           Product: Taglibs
           Version: 1.0
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Input Taglib
        AssignedTo: taglibs-dev@jakarta.apache.org
        ReportedBy: tim@timtroy.org


Page input-examples/form.jsp does not pass W3C validator found at link 
http://validator.w3.org/file-upload.html.

<select name="choice" >
<option value="2" selected="true">two</option>
<option value="1">one</option>
<option value="3">three</option>
</select>

Favorite letter?  &nbsp;&nbsp;&nbsp
<input type="radio" name="radio" value="a" checked="true" />a 
<input type="radio" name="radio" value="b" />b
<input type="radio" name="radio" value="c" />c
<input type="radio" name="radio" value="d" />d

Line 46, column 32: value of attribute "SELECTED" cannot be "TRUE"; must be one 
of "SELECTED"

<option value="2" selected="true">two</option>

The value of the attribute is defined to be one of a list of possible values 
but in the document it contained something that is not allowed for that type of 
attribute. For instance, the “selected” attribute must be either minimized 
as “selected” or spelled out in full as “selected="selected"”; a value 
like “selected="true"” is not allowed.


Line 61, column 56: value of attribute "CHECKED" cannot be "TRUE"; must be one 
of "CHECKED"

<input type="radio" name="radio" value="a" checked="true" />a

The value of the attribute is defined to be one of a list of possible values 
but in the document it contained something that is not allowed for that type of 
attribute. For instance, the “selected” attribute must be either minimized 
as “selected” or spelled out in full as “selected="selected"”; a value 
like “selected="true"” is not allowed.

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