Problems loading an SVG file to Document
Mark Riley <[email protected]> Wed, 21 Aug 2013 09:57:52 -0700
| Newsgroups | gmane.text.xml.batik.user |
|---|---|
| Message-ID | <6C3AE4FA27CA894BB8860D7A8C287C24B86B14FE40@P3PW5EX1MB12.EX1.SECURESERVER.NET> |
Im using the code: String parser = XMLResourceDescriptor.getXMLParserClassName(); SAXSVGDocumentFactory f = new SAXSVGDocumentFactory(parser); Document doc = f.createDocument(image.getFilename(), image.getStream()); It seems parser returns null and my application crashes out. Thanks, Mark