Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-1258

Missing support for <marker>'s orient attribute

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.11
    • None
    • Bridge
    • None

    Description

      Trying to load SVG from https://developer.mozilla.org/en-US/docs/Web/SVG/Element/marker results in this:

      Stack trace:

      org.apache.batik.bridge.BridgeException: For input string: "auto-start-reverse"
          at org.apache.batik.bridge.SVGMarkerElementBridge.createMarker(SVGMarkerElementBridge.java:134)
          at org.apache.batik.bridge.PaintServer.convertMarker(PaintServer.java:137)
          at org.apache.batik.bridge.PaintServer.convertMarkers(PaintServer.java:94)
          at org.apache.batik.bridge.SVGDecoratedShapeElementBridge.createMarkerPainter(SVGDecoratedShapeElementBridge.java:67)
          at org.apache.batik.bridge.SVGDecoratedShapeElementBridge.createShapePainter(SVGDecoratedShapeElementBridge.java:86)
          at org.apache.batik.bridge.SVGShapeElementBridge.buildGraphicsNode(SVGShapeElementBridge.java:91)
          at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:224)
          at org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171)
          at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:82)

      More documentation at https://www.w3.org/TR/svg-markers/

      Attachments

        1. BATIK-1258.patch
          4 kB
          Julien Lacour

        Activity

          People

            Unassigned Unassigned
            kirillg Kirill Grouchnikov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: