xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38178] - "d" attribute on path element - error processing commas
Date Sun, 08 Jan 2006 18:12:58 GMT
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=38178>.
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=38178


dvholten@computer.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|"d" attribute on path       |"d" attribute on path
                   |element - error processing  |element - error processing
                   |commas                      |commas




------- Additional Comments From dvholten@computer.org  2006-01-08 19:12 -------
surprise surprise: i thought 'thats an easy one' - just add a call to
skipCommaSpaces() before the 'break' in the 'z'-case in method doParse() in
org.apache.batik.parser.PathParser.java. With that call, the 'z'-command (Z as
well) behaves like the other path-commands according to trailing spaces and commas.

But closer inspection of the BNF of valid path-commands shows, that commas are
not allowed *between* path-commands (see http://www.w3.org/TR/SVG11/path.html ).

How to proceed? Be pragmatic or follow the standard?

BTW: the PathParser-tests in
test-resources/org/apache/batik/parser/unitTesting.xml are not focused on commas.


-- 
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


Mime
View raw message