Menu

#11 escaping character is not handled

closed
None
5
2012-07-18
2005-06-23
No

We are using the css parser to parse style sheets, and
we remarked that the escaping character is not handled.

The corresponding part of the CSS specification is here :
http://www.w3.org/TR/CSS21/syndata.html#q6

As it is very difficult the add this at the parser
level because there are no setters for LexicalValue,
and that it is not easy to reconstruct a new
LexicalUnit chained array, would you consider adding
this handling to the parser ?

Discussion

  • David Schweinsberg

    Logged In: YES
    user_id=796107

    OK, just to confirm the request: you want escaped character
    strings within strings not to be passed through, but to be
    substituted with the actual represented character within the
    SAC LexicalUnit?

     
  • Arnaud TAMAILLON

    Logged In: YES
    user_id=1086558

    Yes, that would be the idea.

    Because escaped characters are just a way to enter
    characters in the css style sheet, this should be hidden to
    the user.

     
  • Daniel Gredler

    Daniel Gredler - 2008-03-25

    Logged In: YES
    user_id=1109422
    Originator: NO

    Fixed in CVS, will be included in the upcoming release.

     

Anonymous
Anonymous

Add attachments
Cancel