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

Support XMLHttpRequest (a.k.a. XHR)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Resolution: Unresolved
    • 1.8
    • None
    • Scripting
    • None
    • Operating System: All
      Platform: PC

    Description

      Although the standard way to perform server communication in SVG seems to be using getURL/postURL (standardized in SVG Tiny 1.2 [1]), Batik already supports a number of extensions [2] so the question is... Why not?

      Cameron has stated that a half-baked implementation was underway [3]; also, within the same thread, there's a hints towards the possibility of using Apache CXF technology.

      Yesterday, I found a script implementation [4] (part of scripting, for which there's a separate issue, BATIK-856), which might be possible to integrate with little effort. I've also found another script implementation [5], part of jQuery.

      [1] http://www.w3.org/TR/SVGTiny12/ecmascript-binding.html
      [2] http://xmlgraphics.apache.org/batik/status.html#ecmascript
      [3] http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/200711.mbox/%3C20071119220831.GA14468@arc.mcc.id.au%3E
      [4] https://scripting.dev.java.net/source/browse/*checkout*/scripting/scripts/javascript/ajax/ajax.js?content-type=text%2Fplain&rev=1.1
      [5] http://dev.jquery.com/browser/trunk/jquery/build/runtest/env.js

      Attachments

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            helder.magalhaes@gmail.com Helder Magalhães
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: