cssparser (http://cssparser.sourceforge.net/) 0.9.5 + NX patch is used by the theme engine to convert CSS text into java style objects (org.nuxeo.theme.formats.styles.Style)
the latest version is from 2008 with a blocker bug (font-family is not parsed correctly NXP-6291)
basically what is needed is a CSS parser that parses CSS selectors and rules while checking that the syntax is correct.
there are two other CSS parsers written in Java that implements the SAC API:
- flute (W3C)
- batik (apache)
and milyn CSS parser based on the above
http://www.milyn.org/javadoc/v1.2/magger/org/milyn/magger/CSSParser.html
- is required by
-
NXP-6291 theme engine: comma-separated css property values are not parsed correctly
- Resolved