Re: FYI: precompiled CVS snapshot

On Fri 27-Jun-2003 at 06:09:35PM +0200, Bjoern Hoehrmann wrote:
>   At you can
> download a Java 1.4.0 precompiled version of the current CSS Validator
> CVS sources.

excellent. :)

trying with:

$ java -classpath org.w3c.css.css.StyleSheetCom ""

file :
 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

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 org.w3c.css.css.StyleSheetCom ""

html request
file :
No error or warning found
        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)


> 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