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:  &#x0;.
 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]

Reply via email to