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] New: - "d" attribute on path element - error processing commas
Date Sun, 08 Jan 2006 08:39:18 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

           Summary: "d" attribute on path element - error processing commas
           Product: Batik
           Version: 1.6
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SVG DOM
        AssignedTo: batik-dev@xmlgraphics.apache.org
        ReportedBy: robert.coup@onetrackmind.co.nz


Under XP, Java 1.5.0_06-b05

The following snippet of SVG doesn't render using Squiggle:
<svg><path d="M0 0, L10 0, L10 10, z, M50 0, L60 0, L60 10, z"/></svg>
[
org.apache.batik.bridge.BridgeException:
file:/L:/www/cooker/svg-render/test-bug1.svg:3
The attribute "d" of the element <path> is invalid
	at org.apache.batik.bridge.SVGPathElementBridge.buildShape(Unknown Source)
	at org.apache.batik.bridge.SVGShapeElementBridge.createGraphicsNode(Unknown Source)
	at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
	at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
	at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
	at org.apache.batik.swing.svg.GVTTreeBuilder.run(Unknown Source)
]

But this does:
<svg><path d="M0 0, L10 0, L10 10, z M50 0, L60 0, L60 10, z"/></svg>

As you can see, the only difference is the comma after the initial 'z'

Thanks, Rob :)

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