W3C home > Mailing lists > Public > www-validator-css@w3.org > March 2004

Bug in CSS validator (@import)

From: Jacek Kobusiński <Jacek.Kobusinski@cs.put.poznan.pl>
Date: Mon, 22 Mar 2004 15:25:49 +0100
To: <www-validator-css@w3.org>
Message-ID: <JBELJMLDKEAGHJFCGFNKCEJJCAAA.Jacek.Kobusinski@cs.put.poznan.pl>

That's the example
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.cs.put.poz
nan.pl%2Fsop%2F

Description:
There is stylesheet "standard.css" linked to the html document. In this css
file there are
17 (!) @import directives importing other styles from different files.

The validator says : Uncaught error java.lang.Exception: Maximum number of
imports reached

In my opinion the css files are ok, the problem is with some hard limits
inside the validator code.

If I'am wrong, please correct me.

Best regards,
Jacek

ps. first lines of "starndard.css" file

--------------------------------
@import "menu.css";
@import "people.css";
@import "quote.css";
@import "link.css";
@import "download.css";
@import "poll.css";
@import "quiz.css";
@import "login.css";
@import "book.css";
@import "code.css";
@import "sitemap.css";
@import "class.css";
@import "register.css";
@import "message.css";
@import "upload.css";
@import "contact.css";
@import "slide.css";

body {
    background : #ffffff;
        font-family : Verdana,Lucida,Arial,sans-serif;
        font-size : 85%;
}

...
---------------------------------
Received on Monday, 22 March 2004 09:28:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:14 GMT