<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>2689</bug_id>
          
          <creation_ts>2006-01-10 05:05:28 +0000</creation_ts>
          <short_desc>documents with no whitespace between attributes validate</short_desc>
          <delta_ts>2007-10-02 06:09:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>Parser</component>
          <version>0.7.1</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 98</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.8.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gunnar Bittersmann">gunnar</reporter>
          <assigned_to name="Terje Bless">link</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>7751</commentid>
    <comment_count>0</comment_count>
    <who name="Gunnar Bittersmann">gunnar</who>
    <bug_when>2006-01-10 05:05:28 +0000</bug_when>
    <thetext>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;
&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
	&lt;head&gt;
		&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;
		&lt;title&gt;Test&lt;/title&gt;
	&lt;/head&gt;
	&lt;body id=&quot;foo&quot;class=&quot;bar&quot;lang=&quot;baz&quot;&gt;
	&lt;/body&gt;
&lt;/html&gt;

This passes as Valid XHTML 1.0 Strict, but should not IMHO.

    [40] STag ::= &apos;&lt;&apos; Name (S Attribute)* S? &apos;&gt;&apos; [XML10]

requires whitespace between attributes in XML, hence in XHTML.

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

Gunnar

Reference:
[XML10] http://www.w3.org/TR/REC-xml</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7752</commentid>
    <comment_count>1</comment_count>
    <who name="Bj">bjoern</who>
    <bug_when>2006-01-10 05:07:55 +0000</bug_when>
    <thetext>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...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16958</commentid>
    <comment_count>2</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-10-02 06:09:46 +0000</bug_when>
    <thetext>fixed in 0.8.0 with addition of libxml parsing.
Test case added to suite. </thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>