css-validator installation on windows

i have apache2 + tomcat6 installed. i tried to use ant on the cvs
source but it kept generating errors about missing packages (html.tree
and html.parser). these particular packages are empty in the webcvs
interface and when i browse through the downloadable css-validator.jar
i find these packages built into it. i decided to use the pre-built
css-validator.jar but tomcat is giving me the following error when
using the "by uri" interface:

type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

java.lang.NullPointerException
	org.w3c.css.util.Messages.getString(Messages.java:93)
	org.w3c.css.util.ApplContext.setContentEncoding(ApplContext.java:195)
	org.w3c.css.servlet.CssValidator.doGet(CssValidator.java:211)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.14 logs.


and the following error when using the "by direct input" interface:

type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

java.lang.NullPointerException
	org.w3c.css.util.Messages.getString(Messages.java:93)
	org.w3c.css.util.Messages.getServletString(Messages.java:160)
	org.w3c.css.servlet.CssValidator.doPost(CssValidator.java:524)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.14 logs.



what is causing these errors and what can be done to fix them? once
again, i'm running on windows xp pro sp2 apache2 + tomcat6
(php5/mysql5 & activeperl 5.8 are there too). thanks in advance for
taking the time to answer my queries.

alex rosario
-- 
I can do it. I will do it NINE times.

Received on Friday, 23 November 2007 12:20:27 UTC