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 3542 - XML Validation Error
Summary: XML Validation Error
Status: RESOLVED INVALID
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: XHTML1.0 (show other bugs)
Version: CSS Validator
Hardware: Macintosh MacOS X
: P2 normal
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL: http://jigsaw.w3.org/css-validator/va...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-30 20:23 UTC by Ben Harper
Modified: 2006-07-31 08:53 UTC (History)
0 users

See Also:


Attachments

Description Ben Harper 2006-07-30 20:23:49 UTC
To the best of my knowledge, XHTML would never require a </img> tag, yet when I validate my page, it returns this error:

Please, validate your XML document first!
Line 12
Column 5679
The element type "img" must be terminated by the matching end-tag "</img>".

The URL is http://securecc.homeip.net/install/shop/index.php

I really think that the CSS Validator should use the W3C Markup Validation Service parser to validate the page rather than having it's own. It should be consistent with the Markup Validation Service in it's results, since the two go hand-in-hand.

Best,

Ben Harper
Comment 1 Robin Whittleton 2006-07-31 08:53:26 UTC
When using XHTML all elements should be closed normally (<element></element>) or self-closing (<element/>). As <img> is an empty element it should be self-closing (<img/>) but you're page doesn't close it (<img>). Add in the closing slash and the problem will go away.

--> INVALID