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

animateTransform throws ArrayIndexOutOfBoundsException

    XMLWordPrintableJSON

Details

    Description

      The following is a reduced test case based on the animate-elem-216-t test in the SVG Tiny 1.2 test suite. Loading this throws a series of ArrayIndexOutOfBoundsExceptions.

      <?xml version="1.0" encoding="UTF-8"?>
      <svg width="100%" height="100%" viewBox="0 0 480 360"
      xmlns="http://www.w3.org/2000/svg"
      xmlns:xlink="http://www.w3.org/1999/xlink">
      <defs>
      <path id="by" xml:id="by" d="M-20,0L20,40M-20,-40L20,-20M-10,-40L15,40"/>
      </defs>

      <g fill="none" stroke="#f00" stroke-width="6" stroke-linejoin="round"
      stroke-linecap="round">
      <use xlink:href="#by" stroke="#88f">
      <animateTransform attributeName="transform" type="skewX" values="10"
      begin="2s" />
      <animateTransform attributeName="transform" type="skewX" by="20"
      begin="4s" dur="5s" repeatCount="3" additive="sum" accumulate="sum"/>
      </use>
      </g>
      </svg>

      Attachments

        1. bug46453-testcase.svg
          0.7 kB
          Helder Magalhães

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            birtles@gmail.com Brian Birtles
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: