Return-Path: X-Original-To: apmail-xmlgraphics-batik-dev-archive@www.apache.org Delivered-To: apmail-xmlgraphics-batik-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6E9252C23 for ; Wed, 27 Apr 2011 21:58:43 +0000 (UTC) Received: (qmail 64138 invoked by uid 500); 27 Apr 2011 21:58:43 -0000 Delivered-To: apmail-xmlgraphics-batik-dev-archive@xmlgraphics.apache.org Received: (qmail 64089 invoked by uid 500); 27 Apr 2011 21:58:43 -0000 Mailing-List: contact batik-dev-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: batik-dev@xmlgraphics.apache.org Delivered-To: mailing list batik-dev@xmlgraphics.apache.org Received: (qmail 64079 invoked by uid 99); 27 Apr 2011 21:58:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 21:58:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 21:58:42 +0000 Received: from thor.apache.org (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p3RLwLRh025791 for ; Wed, 27 Apr 2011 21:58:21 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id p3RLwLSt025789; Wed, 27 Apr 2011 17:58:21 -0400 (EDT) Date: Wed, 27 Apr 2011 17:58:21 -0400 (EDT) From: bugzilla@apache.org To: batik-dev@xmlgraphics.apache.org Subject: DO NOT REPLY [Bug 51129] New: Old DOM example in SVG DOM API page X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Batik X-Bugzilla-Component: Web Site X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: ariel.coppes@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: batik-dev@xmlgraphics.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 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 -> 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: batik-dev-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org