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

Re: New release of CSS Validator

From: Yves Lafon <ylafon@w3.org>
Date: Thu, 13 Mar 2008 05:32:44 -0400 (EDT)
To: Dominique Hazael-Massieux <dom@w3.org>
Cc: ot@w3.org, public-mobileok-checker <public-mobileok-checker@w3.org>, www-validator-css@w3.org
Message-ID: <Pine.LNX.4.64.0803130528560.22871@ubzre.j3.bet>

On Thu, 13 Mar 2008, Dominique Hazael-Massieux wrote:

> I downloaded the new css-validator.jar this morning to see if it could
> be used as-is in replacement of the previous version, but doing so
> triggers a bunch of errors in our regression test suite.
>
> It appears that there is now a dependency of the validator on the
> org.apache.velocity package, even when not using the HTML output of the
> validator:
>        java.lang.NoClassDefFoundError: org/apache/velocity/io/UnicodeInputStream
>        at org.w3c.css.css.StyleSheetParser.parseStyleElement(StyleSheetParser.java:258)
>        at org.w3c.mwi.mobileok.basic.CSSUtils.getStylesheet(CSSUtils.java:84)
>
> Can you confirm this is a new and intended dependency?

Yes, in fact the dependency is on one class from velocity 1.5, used to 
read the BOM in a document and set the charset parameter accordingly.
(see http://www.w3.org/Bugs/Public/show_bug.cgi?id=4828 )
It won't force you to use the whole velocity template engine, just this 
class.
HTH,

-- 
Baroula que barouleras, au tiéu toujou t'entourneras.

         ~~Yves
Received on Thursday, 13 March 2008 09:33:16 GMT

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