W3C CVS Root

2007/cssxml/

About

This project hosts experimental code developed by the mobileOK checker task force, looking at serializing CSS in an XML format to facilitate its analysis with XML tools.

See also the public-mobileok-checker@w3.org archived mailing list, and the thread that started this project tree.

Known Bugs and ToDo

cssxml Schema and Documentation

A schema has been prepared (as has a less correct DTD), and some documentation describing the schema, generated using oXygen.

Examples

The code has been tested with a number of source files.

Acid2
A CSS source file was created from the ACID2 test and transformed to cssxml (result). There are a number of deliberate errors in this file.
A feature test file
Exercises some CSS features not excercised by other examples (result)
The handheld and screen CSS used at http://www.w3.org/Mobile
(results: handheld, screen)
The example1 and example2 CSS from deep within the bowels of CSS Validator CVS at http://dev.w3.org/cvsweb/~checkout~/2002/css-validator/
(Results: Example1, Example2). Interestingly (well, given the restricted intellectual domain of the subject matter), example2 contains an @page rule within an @media print rule. This is in fact incorrect, according to the grammar of CSS, but is it meant to be?

Code

The code lives in this tree src.org.w3c.mwi.xcss - like a crow with a machine gun (dangerous).

Dependencies

Apache Commons CLI 1.0

Flute for Java 1.3

J2SE 1.6

Licenses

See COPYRIGHT.html for the license for this code and associated documentation.

Also see lib for licenses to libraries.

References

CSS Home Page, Level 2 Revision 1

SAC Home Page, Javadoc

DOM Object Model for CSS

Acknowledgements

Thanks to SyncROsoft for the W3C Member license for oXygen, which was used under Eclipse for XML editing and production of the schema and its documentation.

Portions of the DocumentHandler Class started out life as part of a helper class in the mobileOK checker, and in turn was borrowed from soewhere else. It's not at all like the original any more.

I (Jo) looked at JXCSS, which helped me develop my thoughts about what was needed.

Dom set this area up - thanks!

Contact

Since this is a spin-off from the mobileOK checker project, I guess that public-mobileOK-checker (archive) would be a good place to discuss it.

$Id: README.cvs.html,v 1.10 2007/09/06 09:35:23 JoRabin Exp $

Click on a directory to enter that directory. Click on a file to display its revision history and to get a chance to display diffs between revisions.

Current directory: [Public] / 2007 / cssxml


File Rev. Age Author Last log entry
[BACK] Parent Directory        
[DIR] bin/        
[DIR] docs/        
[DIR] examples/        
[DIR] lib/        
[DIR] src/        
[DIR] test/        
[TXT] README.cvs.html 1.10 16 years JoRabin Correct broken lok to Schema Documentation
[TXT] todo.txt 1.3 16 years JoRabin Correct broken lok to Schema Documentation
[TXT] COPYRIGHT.html 1.1 16 years JoRabin Update with licenses etc.
[TXT] .classpath 1.2 16 years JoRabin committing code
[TXT] .project 1.1 16 years JoRabin committing source tree

General options
,

Webmaster