xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51129] New: Old DOM example in SVG DOM API page
Date Wed, 27 Apr 2011 21:58:21 GMT

           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: batik-dev@xmlgraphics.apache.org
        ReportedBy: ariel.coppes@gmail.com

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 ->

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: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org

View raw message