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 888 - CSS Validator can't find internal stylesheets
Summary: CSS Validator can't find internal stylesheets
Status: RESOLVED WORKSFORME
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: XHTML1.0 (show other bugs)
Version: CSS Validator
Hardware: Other other
: P2 trivial
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-19 10:56 UTC by bbalint
Modified: 2010-01-16 08:11 UTC (History)
1 user (show)

See Also:


Attachments

Description bbalint 2004-09-19 10:56:49 UTC
i was writing XHTML 1.0 Strict document (served as application/xhtml+xml),
formatting them with CSS files. those CSS files were associated using the
xml-stylesheet instruction.
then i've found that i can use internal stylesheets in my XHTML documents [2]
i removed all the xml-stylesheet instructions, except this
 <?xml-stylesheet href="#stylesheet" type="text/css"?>
and inserted a style element with id="stylesheet" attribute.

the document was look like before, but the Validator can't validate it:
for it, the #stylesheet URI is the same document, not that style element (and
it's contents)

bbalint

[1] http://www.w3.org/TR/xml-stylesheet/
[2] http://www.w3.org/TR/xhtml1/guidelines.html#C_14
[3] http://free.srv.hu/s/i/singy/test.xhtml
Comment 1 Olivier Thereaux 2006-04-21 05:48:58 UTC
Could you send in a test case, as attachment, if possible?
thanks.