>
> 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"?>
> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
> "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>
> <svg xmlns="http://www.w3.org/2000/svg";
> xmlns:xlink="http://www.w3.org/1999/xlink";
> width="427.713"
There are two problems I found, first (and I don't really know if
this is right or not) but Batik doesn't like the START comment before
the <?xml version="1.0"?>.
Second you have a bunch of supurious semi-colons in your DOCTYPE and
svg elements (apparently after each namespace). The following header
allowed me to
view the document:
<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="427.713"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]