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 265 - problem with entities in XHTML
Summary: problem with entities in XHTML
Status: RESOLVED WORKSFORME
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: XHTML1.0 (show other bugs)
Version: CSS Validator
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Philippe Le Hegaret
QA Contact:
URL: http://24.85.136.193/mike/stuff/elect...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-08 18:30 UTC by Michael Newton
Modified: 2004-05-24 02:08 UTC (History)
0 users

See Also:


Attachments

Description Michael Newton 2003-07-08 18:30:18 UTC
Trying to validate a page, I got this error:

Target: http://24.85.136.193/mike/stuff/electricsheep.html
Please, validate your XML document first!
Line 27
Column 71
The entity "mdash" was referenced, but not declared.

My XML namespace is fine, and the XHTML validates just fine.  I tried changing
the — to — and it validated just fine, even though there are dozens
of other — entities throughout the page.

Then I reloaded the page, and it came up with the error again at the next
— entity.  I changed that one and reloaded, and it validated, but then
when I reloaded yet again it produced an error...
Comment 1 Bj 2004-05-23 22:08:58 UTC
Your test page is no longer available and I am unable to reproduce this. Your 
document probably lacked a document type declaration.