- From: Paul Arzul <patricka@mkdoc.com>
- Date: Fri, 27 Jun 2003 12:59:52 -0400 (EDT)
- To: www-validator-css@w3.org
On Fri 27-Jun-2003 at 06:09:35PM +0200, Bjoern Hoehrmann wrote:
> At http://www.geocities.com/hoermi/cssvalidator-2003-06-27.zip you can
> download a Java 1.4.0 precompiled version of the current CSS Validator
> CVS sources.
excellent. :)
trying with:
$ java -classpath cssvalidator-2003-06-27.zip org.w3c.css.css.StyleSheetCom "http://www.w3.org/StyleSheets/home.css"
---8<---
file : http://www.w3.org/StyleSheets/home.css
URI : http://www.w3.org/StyleSheets/home-import.css
Line : 0 Context : .navBlock in property : background
Too many values or values are not recognized : #eec
Line : 0 Context : .navBlock in property : color
#000 is not a color value : #000
--->8---
so it seems that three-digit rgb notation isn't supported. (okay, just
read your bug report -- it's all rgb notation.)
> If you like to validate style sheets inside or linked from
> XHTML/XML/SVG/... documents you need to install Xerces-J and specify
> the xercesimpl.jar in your classpath environment variable or the -cp
> command line option.
great. :)
another try:
$ java -classpath cssvalidator-2003-06-27.zip:xerces-2_4_0/xercesImpl.jar org.w3c.css.css.StyleSheetCom "http://www.w3.org/"
---8<---
html request http://www.w3.org/
file : http://www.w3.org/
No error or warning found
java.lang.NullPointerException
at org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy.getValue(Unknown Source)
at org.w3c.css.css.XMLStyleSheetHandler.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.w3c.css.css.XMLStyleSheetHandler.parse(Unknown Source)
at org.w3c.css.css.StyleSheetCom.xmlRequest(Unknown Source)
at org.w3c.css.css.StyleSheetCom.htmlRequest(Unknown Source)
at org.w3c.css.css.StyleSheetCom.main(Unknown Source)
--->8---
?
> official release, it is not supported and use it at your own risk. It
> works for me (except for some bugs), if it works you too - great; if it
> doesn't - sorry. Feel free to share what you think about it.
any release is better than none! the community needs a packaged offline
css2+ validation tool (imho). thanks again,
- p
Received on Wednesday, 2 July 2003 09:54:20 UTC