I shouldn't have included the <!-- Start --> comment. It wasn't part of the original file -- it was only there to separate it from the rest of the message. It has nothing to do with the problem. Sorry about that folks. The problem was in the DOCTYPE and svg elements wherein there were apparently some spurious semicolons. I was using a prerelease version of Jasc WebDraw to generate the file, so that may have had something to do with the problem. thanks for the help. -----Original Message----- From: Fayyad, Elias [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 9:39 AM To: 'Batik Users' Subject: RE: defect?
Matthew, When I tested your svg doc (with jdk1.3 and batik 1.1.1), I got the following error: java.io.IOException: XML declaration may only begin entities. at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source) at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source) at org.apache.batik.bridge.DocumentLoader.loadDocument(Unknown Source) at org.apache.batik.swing.svg.SVGDocumentLoader.run(Unknown Source) That's because you had the <!-- START --> comment in the beginning, when what was expected was the <?xml version="1.0"?> declaration. When I removed the starting comment, the document was nicely parsed and your Load Factor Chart (Bank Angle/Load Factor) came up. Elias. ____________________________________________________________________ elias a. fayyad netmap analytics 480 olde worthington road, suite 300, westerville, ohio 43082 -----Original Message----- From: Matthew L. Avizinis [mailto:[EMAIL PROTECTED]] Sent: Friday, July 05, 2002 11:32 AM To: [EMAIL PROTECTED] Subject: defect? I am using WinNT and jdk1.3 and running Batik1_1_1. I receive the following message java.io.IOException: Illegal XML character: �. at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source) at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source) at org.apache.batik.bridge.DocumentLoader.loadDocument(Unknown Source) at org.apache.batik.swing.svg.SVGDocumentLoader.run(Unknown Source) when I attempt to open the following SVG file. This character does not exist in this file, so what's happening? Any suggestions? <!-- START --> <?xml version="1.0"?> ... <!-- END --> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
