<?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>4891</bug_id>
          
          <creation_ts>2007-07-29 13:44:48 +0000</creation_ts>
          <short_desc>Strange error for number enclosed in colons followed by XHTML text entity</short_desc>
          <delta_ts>2007-08-01 23:37:06 +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>check</component>
          <version>0.8.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>4892</dup_id>
          
          <bug_file_loc>http://www.fourmilab.ch/entrenous/validation_2007-07-29.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="John Walker">kelvin</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>w3bugzilla</cc>
          
          <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>15955</commentid>
    <comment_count>0</comment_count>
    <who name="John Walker">kelvin</who>
    <bug_when>2007-07-29 13:44:48 +0000</bug_when>
    <thetext>Validating the cited URL with the 0.8.0 online Markup Validator results in the following error message:

    Line 12345, Column 0: &amp;mdash; .

Not only is the XHTML valid (as far as I can see), but this is only a 16 line document!  The key line is the following body text (line 12) within a &lt;p&gt; container:

    :12345:&amp;mdash;

The line number reported is the number within the colons--you can change it and line number in the error report will change to the new value.  I have made the following observations based on experiments:

   1.  Changing the text within the colons to an alphabetic
       sequence eliminates the error message.
   2.  Changing the text entity from &amp;mdash; to a numeric
       entity (for example &amp;#8810) or an entity in the
       US-ASCII range (for example &amp;quot;) eliminates the
       error message, but changing it to a character in the
       ISO-8859 0xA0-0xFF range (for example &amp;eacute;) produces
       the error message.
   3.  Adding arbitrary alphanumeric text between the second
       colon and the text entity does not affect the error
       message, nor does text including markup (for example
       &quot;&lt;b&gt;text&lt;/b&gt;&quot;).
   4.  The error message is produced for the XHTML 1.0 Transitional
       DTD as well as the Strict.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15956</commentid>
    <comment_count>1</comment_count>
    <who name="John Walker">kelvin</who>
    <bug_when>2007-07-29 17:51:53 +0000</bug_when>
    <thetext>One additional observation, noted after I submitted the report:

   5.  While adding text or white space between the second
       colon and the text entity does not affect the results,
       moving the text entity to the next line eliminates
       the error message.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16002</commentid>
    <comment_count>2</comment_count>
    <who name="Manuel Moser">w3bugzilla</who>
    <bug_when>2007-08-01 19:18:36 +0000</bug_when>
    <thetext>*** Bug 4904 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16005</commentid>
    <comment_count>3</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-08-01 23:37:06 +0000</bug_when>
    <thetext>this is the same bug as Bug 4892, which is nof fixed in CVS.
Testable on the dev server:
http://qa-dev.w3.org/wmvs/HEAD/




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

    </bug>

</bugzilla>