https://issues.apache.org/bugzilla/show_bug.cgi?id=51129

           Summary: Old DOM example in SVG DOM API page
           Product: Batik
           Version: 1.8
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Web Site
        AssignedTo: [email protected]
        ReportedBy: [email protected]


The examples of the page are old:

try {
    String parser = XMLResourceDescriptor.getXMLParserClassName();
    SAXSVGDocumentFactory f = new SAXSVGDocumentFactory(parser);
    String uri = "http://www.example.org/diagram.svg";;
    Document doc = f.createDocument(uri);
} catch (IOException ex) {
    // ...
}

SAXSVGDocumentFactory is now SAXDocumentFactory ->
http://xmlgraphics.apache.org/batik/javadoc/org/apache/batik/dom/util/SAXDocumentFactory.html

Even the constructor differs.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to