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 #3318 is a reply to message #3317] Sat, 12 January 2013 15:42 Go to previous messageGo to previous message
jjtoranzo2004 is currently offline  jjtoranzo2004
Messages: 261
Registered: September 2012
Senior Member
I you test
http://www.tonymarston.net/sample/help.php?session_name=samp le&taskid=person_list.php
as XTHML 1.0 strict using the W3C Markup Validation Service (http://validator.w3.org/),
you will see it finds 3 errors, all related to this line:
<html xml:lang='' lang=''>

------------------------------------------------------------ ------------------

Validation Output: 3 Errors

Error Line 2, Column 17: syntax of attribute value does not conform to declared value

<html xml:lang='' lang=''>


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.


Error Line 2, Column 25: syntax of attribute value does not conform to declared value

<html xml:lang='' lang=''>


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.


Error Line 2, Column 1: Missing xmlns attribute for element html. The value should be: http://www.w3.org/1999/xhtml

<html xml:lang='' lang=''>


Many Document Types based on XML need a mandatory xmlns attribute on the root element. For example, the root element for XHTML might look like:
<html xmlns="http://www.w3.org/1999/xhtml">




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: Sat Nov 23 12:13:56 EST 2024

Total time taken to generate the page: 0.01156 seconds