This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
i tried to valid the following xhtml page ---------------------- <?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" xml:lang= lang="fr"> <head> </head> <body> <p> Bonjour </body> </html> ------------------------------------- the result is "OK". it seems that there are at least two errors : xml:lang="fr" and </p> why validator says OK ?
I copied and pasted the code you mentioned, and the validator properly spotted the two errors you mention, plus the lack of a <title>. Closing as invalid.