<?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>4915</bug_id>
          
          <creation_ts>2007-08-04 20:12:03 +0000</creation_ts>
          <short_desc>&amp;ensp gives unexplained error at other place in document</short_desc>
          <delta_ts>2007-08-05 23:04:41 +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>HEAD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>4892</dup_id>
          
          <bug_file_loc>http://q.gotdns.com/w3.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Harald Rudell">junk99</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</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>16055</commentid>
    <comment_count>0</comment_count>
    <who name="Harald Rudell">junk99</who>
    <bug_when>2007-08-04 20:12:03 +0000</bug_when>
    <thetext>Try validating this page: http://q.gotdns.com/w3.html
(you can click the Validate! link in the document)

validator output is:
Validation Output:  1 Error

   1. Error Line 28, Column 0: 18 up 164 days, 3:49, 1 user, load average: 0.00, 0.00, 0.00&lt;br .

Problems:
a. markup is valid, there should not be an error
b. the document only has 18 lines, the location given is incorrect. Often some random markup line is provided by the validator
c. the cause is the &amp;ensp; entry in column 17 on line 13, if these six characters are removed, no validation error is given

complete document below:
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.1//EN&quot; &quot;http://www.w3.org/TR/xhtml11/DTD/xhtml11.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;Is this really invalid xhtml 1.1?&lt;/title&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;style/default-temp.css&quot; /&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p&gt;&lt;a href=&quot;http://validator.w3.org/check?uri=referer&quot;&gt;Validate!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;an &amp;amp;ensp inserted in the paragraph below causes the w3c xhtml 1.1 validator service to incorrectly report an error in the column of the &amp;amp;ensp but at a random line in the document.&lt;/p&gt;
				&lt;p&gt;root@hrudell:~# uptime; uname&lt;br /&gt;
				&amp;ensp;17:28:18 up 164 days, 3:49, 1 user, load average: 0.00, 0.00, 0.00&lt;br /&gt;
				Linux&lt;/p&gt;
	
&lt;/body&gt;
&lt;/html&gt;

Otherwise, I enjoy the validation services very much!

Regards,

Harald Rudell</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16056</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-08-05 23:04:41 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 4892 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>