This API for a CSS parser may be of interest to SVG implementors who
would rather pick up a CSS parser from stock than build one themselves.
It was developed by Philippe Le Hégaret, a member of W3C staff, who was
involved in the design of the DOM2 CSS Object Model and who also
implemented the W3C CSS Validator.
C and Java implementations are provided.[1]
From the software license [2]:
Permission to use, copy, modify, and distribute this
software and its documentation for any purpose and
without fee or royalty is hereby granted, provided that
you include the following on ALL copies of the software
and documentation or portions thereof, including
modifications, that you make:
1.A link or URL to the original W3C source.
2.Any pre-existing intellectual property disclaimers.
If none exist, then a notice of the form: "Copyright
© World Wide Web Consortium, (Massachusetts
Institute of Technology, Institut National de
Recherche en Informatique et en Automatique,
Keio University). All Rights Reserved. W3C® is a
registered trademark of the Massachusetts
Institute of Technology on behalf of the World
Wide Web Consortium."
[1] http://www.w3.org/Style/css/SAC/
[2] http://www.w3.org/Consortium/Legal/copyright-software
--
Chris
Forwarded message 1
The first beta version of SAC (Simple API for CSS) is ready :
http://www.w3.org/Style/css/SAC/
Like SAX, SAC is a standard interface for CSS parsers. This API has been
produced as part of the W3C Style Activity [1].
Java and C versions are provided.
Comments are welcome.
Regards,
Philippe.
[1] http://www.w3.org/Style/Activity
---------
Philippe Le Hegaret - http://www.w3.org/People/LeHegaret/
World Wide Web Consortium (W3C), User Interface Domain