W3C home > Mailing lists > Public > www-validator-cvs@w3.org > January 2006

[Bug 2689] documents with no whitespace between attributes validate

From: <bugzilla@wiggum.w3.org>
Date: Tue, 10 Jan 2006 05:05:29 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1EwBhJ-0007xl-2R@wiggum.w3.org>


           Summary: documents with no whitespace between attributes validate
           Product: Validator
           Version: 0.7.1
          Platform: PC
        OS/Version: Windows 98
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Parser
        AssignedTo: link@pobox.com
        ReportedBy: gunnar@cs.tu-berlin.de
         QAContact: www-validator-cvs@w3.org

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="http://www.w3.org/1999/xhtml">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<body id="foo"class="bar"lang="baz">

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.

(I’m not sure if this applies to HTML/SGML as well.)


[XML10] http://www.w3.org/TR/REC-xml
Received on Tuesday, 10 January 2006 05:05:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:15 UTC