You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2007/08/20 09:21:19 UTC
DO NOT REPLY [Bug 43165] New: - error in parsing pseudo element
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=43165>.
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=43165
Summary: error in parsing pseudo element
Product: Batik
Version: 1.7
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: CSS
AssignedTo: batik-dev@xmlgraphics.apache.org
ReportedBy: mouseleeky@gmail.com
the css parser fails to handle selectors that have pseudo element in them.
for example: .content:after{...} will return *.content as the selector.
I think you should have a look at the class org.apache.batik.css.parser.Parser.
In method parseSelector() on line 637 the pesudoElement field is set to null,
which will effectively make the test on line 667 fail, thus no
createPseudoElementSelector() invocation.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org
DO NOT REPLY [Bug 43165] - error in parsing pseudo element
Posted by bu...@apache.org.
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=43165>.
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=43165
cam@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From cam@apache.org 2007-08-26 19:56 -------
Hi Ruohao.
Thanks for pointing out exactly where the problem was. I've committed a fix to
SVN. Please give it a go and let me know if it doesn't work for you.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org