Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4.2-RC1, 5.4.2
    • Component/s: None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jmorliaguet Jean-Marc Orliaguet
                Reporter:
                jmorliaguet Jean-Marc Orliaguet
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified