This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
<!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Test</title> </head> <body id="foo"class="bar"lang="baz"> </body> </html> This passes as Valid XHTML 1.0 Strict, but should not IMHO. [40] STag ::= '<' Name (S Attribute)* S? '>' [XML10] requires whitespace between attributes in XML, hence in XHTML. (Im not sure if this applies to HTML/SGML as well.) Gunnar Reference: [XML10] http://www.w3.org/TR/REC-xml
The Validator should generate a warning for this and this is a known issue, the Validator points out this limitation whenever validating XML documents; also, this is likely a duplicate of some other bug...
fixed in 0.8.0 with addition of libxml parsing. Test case added to suite.