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

Scripting won't work if document doesn't have a URI

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.8
    • Fix Version/s: None
    • Component/s: Scripting
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All

      Description

      In InterpreterPool.createInterpreter(), trying to create an Interpreter for a Document that has a null URI will cause null to be returned:

      http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/script/InterpreterPool.java?annotate=578701#l97

      null being returned from getDocumentURI() should be checked for and passed through to factory.createInterpreter().

        Attachments

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              cam Cameron McCormack
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: