ID: 50706 Updated by: [email protected] Reported By: miklcct at gmail dot com -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: Ubuntu 9.10 PHP Version: 5.3.1 New Comment:
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. See bug #50324 Previous Comments: ------------------------------------------------------------------------ [2010-01-09 09:57:42] miklcct at gmail dot com Description: ------------ Simply running phpinfo() and put the output into W3C validator and it says: Validation Output: 1 Error 1. Error Line 2, Column 1: Missing xmlns attribute for element html. The value should be: http://www.w3.org/1999/xhtml <html><head> â Many Document Types based on XML need a mandatory xmlns="" on the root element. For example, the root element for XHTML will look like: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> Reproduce code: --------------- <?php phpinfo(); ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50706&edit=1
