Undefined attribute name (xmlns)
Here is the beginning of my HTML page:
1. <?xml version="1.0" encoding="utf-8" ?> 2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3. <html xmlns="http://www.w3.org/1999/xhtml" lang="fr"> 4. (...) 5. </html> Is there a part <?xml ... ?> Or not, Eclipse returns me a warning on line 3
Undefined attribute name (xmlns).
This xmlns attribute is required for validation, so I donβt understand why Eclipse returns a warning.
In addition, I am using Eclipse Indigo 3.7.2 with the latest PHP development tool from the Eclipse database.
Does anyone know how to remove this warning, or find a way to skip this?
Thanks for reading and help.
In this case, there is an error: https://bugs.eclipse.org/bugs/show_bug.cgi?id=313859
<?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="fr"> <head> <title>Title of the document</title> </head> <body> <div>The content of the document.</div> </body> </html> Must be checked. Checks well in Eclipse Juno and here: http://validator.w3.org .