- From: <bugzilla@wiggum.w3.org>
- Date: Fri, 21 Oct 2005 12:15:32 +0000
- To: www-validator-cvs@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2403
Summary: CSS Validator fails to find embedded stylesheet in UTF
encoded XHTML files.
Product: CSSValidator
Version: CSS Validator
Platform: PC
URL: http://exiclick.com/snk/index.htm
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: CSS 2.0
AssignedTo: ot@w3.org
ReportedBy: ishmaeel@gmail.com
QAContact: www-validator-cvs@w3.org
It appears that the CSS validator is unable to find the stylesheet within an
XHTML1.0 document, if the document is UTF-8 or UTF-16 encoded. The URL provided
validates as XHTML by the markup validator but the CSS validator seems unable to
locate the embedded STYLE tag.
To test the case further, I tried to verify an ANSI-encoded version of the exact
same file (available via the url below) . Naturally, markup validator could not
even parse it ("...it contained one or more bytes that I cannot interpret as
utf-16...") but the CSS validator was able to find the STYLE section and
validate it.
http://exiclick.com/snk/index.htm (The original)
http://exiclick.com/snk/index2.htm (Incorrectly ANSI-encoded test file)
Received on Friday, 21 October 2005 12:15:40 UTC