Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-612

[PATCH] CSS character escape sequences not parsed correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Resolution: Unresolved
    • 1.6
    • None
    • CSS
    • Operating System: other
      Platform: Other

    Description

      CSS character escape sequences do not seem to parse correctly.

      For example, the following ruleset delivers a wrong element name for the selector via SAC:

      .Headers\a0 \2b \a0 \28 Complex\29

      { display: inline }

      It should be the string "Headers\a0 \2b \a0 \28 Complex\29", but is currently delivered as "Headers
      \a0 ", which is wrong according to the CSS21 parsing/tokenization rules. It seems that the parser
      chokes on two subsequent character escapes that have been delimited by a single space character.

      Attachments

        1. patch9css
          63 kB
          x00000000
        2. patch3
          33 kB
          x00000000
        3. patch2
          10 kB
          x00000000
        4. patch2
          10 kB
          x00000000

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            roth@visualclick.de Christian Roth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: