List Info

Thread: DO NOT REPLY New: - CSS character escape sequences not parsed correctly




DO NOT REPLY New: - CSS character escape sequences not parsed correctly
user name
2006-01-10 02:47:40
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38
207>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38207

           Summary: CSS character escape sequences not
parsed correctly
           Product: Batik
           Version: 1.6
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P2
         Component: CSS
        AssignedTo: batik-devxmlgraphics.apache.org
        ReportedBy: rothvisualclick.de


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:

.Headersa0 2b a0 28 Complex29 { display: inline }

It should be the string "Headersa0 2b a0 28
Complex29", 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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: batik-dev-unsubscribexmlgraphics.apache.org
For additional commands, e-mail: batik-dev-helpxmlgraphics.apache.org

DO NOT REPLY - CSS character escape sequences not parsed correctly
country flaguser name
United States
2007-03-28 07:46:01
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38
207>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38207





------- Additional Comments From x00000000freenet.de  2007-03-28 05:46 -------
(In reply to comment #10)
>     Your patch looks interesting but it is large enough
that I think you
> would have to provide a Contributors License Agreement
to it to be applied
> to Batik:
> 
>       http://www.apach
e.org/licenses/#clas

I thought about it but decided not to sign it just for this
bug (which is
just about CSS conformance and can easily be worked
around).
However, I doubt that the patches constitute "original
work"
<http:/
/en.wikipedia.org/wiki/Original_work> (only original
work can be a
contribution as defined in the CLA), and in case they do, I
hereby release
them into the public domain. Feel free to use them or ignore
them.

I will post the latest version of my patch, but will not
continue to work
on it. It doesn't provide fully CSS conformant parsing, but
it has no known
regressions relative to the current trunk code. A better
approach than
catching scanner exceptions in the parser to ensure
forward-compatible
parsing may be to modify the scanner to emit DELIM tokens
(as defined by
the CSS "core syntax") instead of throwing
exceptions.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: batik-dev-unsubscribexmlgraphics.apache.org
For additional commands, e-mail: batik-dev-helpxmlgraphics.apache.org


DO NOT REPLY - CSS character escape sequences not parsed correctly
country flaguser name
United States
2007-03-28 07:47:21
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38
207>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38207


x00000000freenet.de changed:

           What    |Removed                     |Added
------------------------------------------------------------
----------------
  Attachment #19402|0                           |1
        is obsolete|                            |




------- Additional Comments From x00000000freenet.de  2007-03-28 05:47 -------
Created an attachment (id=19825)
 --> (http://issues.apache.org/bugzilla/attac
hment.cgi?id=19825&action=view)
patch (latest version)


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: batik-dev-unsubscribexmlgraphics.apache.org
For additional commands, e-mail: batik-dev-helpxmlgraphics.apache.org


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )