Largest cause of errors in XHTML validation errors are
* <br> break which should be coded as <br /> * <hr> horizontal rule which should be coded as <hr /> * <img src = should be coded with a terminating space followed by /> * unmatched paragraph pairs <p> must be closed with a </p> * all tags must be lower-case
The following are some of the common coding errors that produce XHTML validation errors when using the validator at http://w3.org/ either directly or through the FireFox Web Developer extension. Because TNG builds pages dynamically from database data, some of the errors can be in the database, such as foreign accents coded incorrectly for the character set in descriptions and ampersands used in media file names.
Errors that stop validation or give inaccurate results
You must fix these type of error first before any XHTML validation can be made correctly.
|Error||Invalid Parameter||Corrected parameter||Action|
Sorry, I am unable to validate this document because on line 255 it contained one or more bytes that I cannot interpret as utf-8
|Foreign accents like é or a © copyright symbol keyed in Windows ANSI environment for a UTF-8 charset page||Use the HTML special character é for the é or the ©||Change the foreign accented character to use the html special code é which will validate in either ANSI or UTF-8 or save the document in UTF-8 encoding if the é is required for readability|
|Unable to Determine Parse Mode! No DOCTYPE found! Attempting validation with HTML 4.01 Transitional.No document type declaration; implying <!DOCTYPE HTML SYSTEM>||DOCTYPE parameter not coded or generated by TNG for page||If you don’t have a DOCTYPE entry at the top of the page, add one. If TNG is generating this line, make sure that if you made a modification to genlib.php, that you did not generate an error.|
|No document type declaration; implying <!DOCTYPE HTML SYSTEM> Namespace Found in non-XML Document||No DOCTYPE found||Same correction as above.|
|There is no attribute "XMLNS"||<html xmlns="http://www.w3.org/1999/xhtml">
code with a <!DOCTYPE html PUBLIC
|In HTML 4.01 use <html> only, without xmlns attribute.||If you reverted to the HTML doctype in genlib.php, you also need to edit how the <html> line is generated.|