This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2689 - documents with no whitespace between attributes validate
Summary: documents with no whitespace between attributes validate
Alias: None
Product: Validator
Classification: Unclassified
Component: Parser (show other bugs)
Version: 0.7.1
Hardware: PC Windows 98
: P2 normal
Target Milestone: 0.8.0
Assignee: Terje Bless
QA Contact: qa-dev tracking
Depends on:
Reported: 2006-01-10 05:05 UTC by Gunnar Bittersmann
Modified: 2007-10-02 06:09 UTC (History)
0 users

See Also:


Description Gunnar Bittersmann 2006-01-10 05:05:28 UTC
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="">
		<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.

(Im not sure if this applies to HTML/SGML as well.)


Comment 1 Bj 2006-01-10 05:07:55 UTC
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...
Comment 2 Olivier Thereaux 2007-10-02 06:09:46 UTC
fixed in 0.8.0 with addition of libxml parsing.
Test case added to suite.