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 4891 - Strange error for number enclosed in colons followed by XHTML text entity
Summary: Strange error for number enclosed in colons followed by XHTML text entity
Status: RESOLVED DUPLICATE of bug 4892
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: 0.8.0
Hardware: All Linux
: P3 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://www.fourmilab.ch/entrenous/val...
Whiteboard:
Keywords:
: 4904 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-29 13:44 UTC by John Walker
Modified: 2007-08-01 23:37 UTC (History)
1 user (show)

See Also:


Attachments

Description John Walker 2007-07-29 13:44:48 UTC
Validating the cited URL with the 0.8.0 online Markup Validator results in the following error message:

    Line 12345, Column 0: — .

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 <p> container:

    :12345:&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 &mdash; to a numeric
       entity (for example &#8810) or an entity in the
       US-ASCII range (for example &quot;) eliminates the
       error message, but changing it to a character in the
       ISO-8859 0xA0-0xFF range (for example &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
       "<b>text</b>").
   4.  The error message is produced for the XHTML 1.0 Transitional
       DTD as well as the Strict.
Comment 1 John Walker 2007-07-29 17:51:53 UTC
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.
Comment 2 Manuel Moser 2007-08-01 19:18:36 UTC
*** Bug 4904 has been marked as a duplicate of this bug. ***
Comment 3 Olivier Thereaux 2007-08-01 23:37:06 UTC
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 ***