Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » sample v3.0.0 XHTML markup errors
Re: sample v3.0.0 XHTML markup errors [message #3304 is a reply to message #3294] Thu, 10 January 2013 08:54 Go to previous messageGo to previous message
jjtoranzo2004 is currently offline  jjtoranzo2004
Messages: 261
Registered: September 2012
Senior Member
Tony,

I checked one Add 1 page of the sample application
http://www.tonymarston.net/sample/person_add.php
with the W3C Markup Validation Service (http://validator.w3.org/).

The service found two errors (generated by empty ids (id=""):

syntax of attribute value does not conform to declared value

The value of an attribute contained something that is not allowed by the specified syntax for that type of attribute. For instance, the "selected" attribute must be either minimized as "selected" or spelled out in full as "selected="selected""; the variant "selected=""" is not allowed.

Line 95, column 42: syntax of attribute value does not conform to declared value
Line 140, column 42: syntax of attribute value does not conform to declared value

<option value="" id="" selected="selected"> </option>
<option value="" id="" selected="selected"> </option>



------------------------------------------
but I think the nu validator (http://html5.validator.nu/) puts it better:


Error: Bad value for attribute id on element option: An ID must not be the empty string.
From line 95, column 21; to line 95, column 63
<option value="" id="" selected="selected"> </opt

Syntax of id:
An ID consists of at least one character but must not contain any whitespace.

Error: Duplicate ID .
From line 140, column 21; to line 140, column 63
<option value="" id="" selected="selected"> </opt

Warning: The first occurrence of ID was here.
From line 95, column 21; to line 95, column 63
<option value="" id="" selected="selected"> </opt

Error: Bad value for attribute id on element option: An ID must not be the empty string.
From line 140, column 21; to line 140, column 63
<option value="" id="" selected="selected"> </opt

Syntax of id:
An ID consists of at least one character but must not contain any whitespace.


Thanks.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: error.inc produces invalid html
Next Topic: Documentation - markup error - ampersands in URLs
Goto Forum:
  


Current Time: Wed Nov 27 07:03:07 EST 2024

Total time taken to generate the page: 0.01196 seconds