- From: <bugzilla@wiggum.w3.org>
- Date: Mon, 26 Nov 2007 15:05:35 +0000
- To: www-validator-cvs@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5285
Summary: Validator ignores "xml-stylesheet" PI in XHTML 1.0
where's no link element
Product: CSSValidator
Version: CSS Validator
Platform: All
URL: http://www.djg-muenchen.de/
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Other
AssignedTo: ot@w3.org
ReportedBy: peter.neumann@dark-chiaki.net
QAContact: www-validator-cvs@w3.org
I got a problem with the W3C CSS Validator while trying to validate a document
(written in XHTML 1.0 Strict, served as application/xhtml+xml, encoding UTF-8,
validated by W3C Validator) in wich the stylesheet is referenced with a XML
processing instruction as follows:
<?xml-stylesheet alternate="no" href="URI" type="text/css" media="all" ?>
Since Firefox is cappable of this notation, the CSS Validator says
"No Errors or Warnings found. No Stylesheet found."
and validates nothing at all. The validation only works (and is successful), if
I additionally include a reference with the link element as follows:
<link rel="stylesheet" href="URI" type="text/css" media="all" />
Occurs on any Platform/OS/UA, direct and with referer-link, used browsers are
Firefox 2.0.0.9 and IE 7.0 (itself not cappable of XHTML, but doesn't change
the failded validation).
To reproduce the error/failing, try to get a validation with:
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.djg-muenchen.de%2F
(Page in german language, but this shouln't be relevant for testing.)
Best regards,
Peter Neumann
Received on Monday, 26 November 2007 15:05:53 UTC