You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by "Matthew L. Avizinis" <ml...@gleim.com> on 2002/07/05 17:32:14 UTC

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"?>
<!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"
	height="273.61" viewBox="0 0 427.713 273.61" overflow="visible"
	enable-background="new 0 0 427.713 273.61" xml:space="preserve">
	<rect fill="none" stroke="rgb(0,0,0)" stroke-width="1.5" x="11" y="19"
		width="159" height="223" transform="matrix(1 0 0 1 0 0)"/>
	<rect fill="none" stroke="rgb(0,0,0)" stroke-width="1" x="209" y="27"
		width="203" height="207" transform="matrix(1 0 0 1 0 0)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1.5" x1="90" y1="19"
		x2="90" y2="243" transform="matrix(1 0 0 1 0 0)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1.5" x1="11" y1="67"
		x2="170" y2="67" transform="matrix(1 0 0 1 0 0)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1.5" x1="11" y1="87"
		x2="170" y2="87" transform="matrix(1 0 0 1 0 0)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1.5" x1="11" y1="87"
		x2="170" y2="87" transform="matrix(1 0 0 1 123 49)
translate(-123.5 -29)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1.5" x1="11" y1="87"
		x2="170" y2="87" transform="matrix(1 0 0 1 123 49) translate(-123 -10)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1.5" x1="11" y1="87"
		x2="170" y2="87" transform="matrix(1 0 0 1 123 49) translate(-123 9.5)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1.5" x1="11" y1="87"
		x2="170" y2="87" transform="matrix(1 0 0 1 123 49) translate(-123 29.5)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1.5" x1="11" y1="87"
		x2="170" y2="87" transform="matrix(1 0 0 1 123 49) translate(-123 47.5)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1.5" x1="11" y1="87"
		x2="170" y2="87" transform="matrix(1 0 0 1 123 49) translate(-123 67)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1.5" x1="11" y1="87"
		x2="170" y2="87" transform="matrix(1 0 0 1 123 49) translate(-123 86.5)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1.5" x1="209" y1="51"
		x2="412" y2="51" transform="matrix(1 0 0 1 0 0)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1.5" x1="209" y1="51"
		x2="412" y2="51" transform="matrix(1 0 0 1 -97 85)
translate(96.5 -61.5)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1.5" x1="209" y1="51"
		x2="412" y2="51" transform="matrix(1 0 0 1 -97 85) translate(96.5 -40)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1.5" x1="209" y1="51"
		x2="412" y2="51" transform="matrix(1 0 0 1 -97 85) translate(97 -16)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1.5" x1="209" y1="51"
		x2="412" y2="51" transform="matrix(1 0 0 1 -97 85) translate(97.5 7.5)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1.5" x1="209" y1="51"
		x2="412" y2="51" transform="matrix(1 0 0 1 -97 85) translate(97 31)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1.5" x1="209" y1="51"
		x2="412" y2="51" transform="matrix(1 0 0 1 -97 85) translate(97 53)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1.5" x1="209" y1="51"
		x2="412" y2="51" transform="matrix(1 0 0 1 -97 85) translate(97 77)"/>
	<path d="M209.606 212.805 C389.606 218.805 392.606 120.305 393.106 27.805"
		fill="none" stroke="rgb(0,0,0)" stroke-width="1"
		transform="matrix(1 0 0 1 0 0)"/>
	<text fill="rgb(0,0,0)" font-family="Arial" font-size="14" x="230px"
y="18px"
		transform="matrix(1 0 0 1 0 0) translate(3.5 -1) translate(-1.5 0.5)">LOAD
FACTOR CHART</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="179px"
y="219px"
		transform="matrix(-1.83691e-016 -1 1 -1.83691e-016 49.558 477.534)
translate(82.5 -79)"
		>LOAD FACTOR - G UNITS</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="224px"
y="265px"
		transform="matrix(1 0 0 1 0 0) translate(-0.5 0.5)">BANK ANGLE - IN
DEGREES</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="197px"
y="33px"
		transform="matrix(1 0 0 1 0 0)">9</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="197px"
y="57px"
		transform="matrix(1 0 0 1 0 0)">8</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="198px"
y="79px"
		transform="matrix(1 0 0 1 0 0)">7</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="198px"
y="100px"
		transform="matrix(1 0 0 1 0 0)">6</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="197px"
y="125px"
		transform="matrix(1 0 0 1 0 0)">5</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="197px"
y="148px"
		transform="matrix(1 0 0 1 0 0)">4</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="197px"
y="172px"
		transform="matrix(1 0 0 1 0 0)">3</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="197px"
y="195px"
		transform="matrix(1 0 0 1 0 0)">2</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="199px"
y="217px"
		transform="matrix(1 0 0 1 0 0) translate(-1.5 0)">1</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="209px"
y="248px"
		transform="matrix(1 0 0 1 0 0)">0</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="225px"
y="248px"
		transform="matrix(1 0 0 1 0 0)">10</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="247px"
y="247px"
		transform="matrix(1 0 0 1 0 0)">20</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="271px"
y="248px"
		transform="matrix(1 0 0 1 0 0)">30</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="290px"
y="247px"
		transform="matrix(1 0 0 1 0 0)">40</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="313px"
y="248px"
		transform="matrix(1 0 0 1 0 0)">50</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="337px"
y="248px"
		transform="matrix(1 0 0 1 0 0)">60</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="361px"
y="248px"
		transform="matrix(1 0 0 1 0 0)">70</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="383px"
y="248px"
		transform="matrix(1 0 0 1 0 0)">80</text>
	<text fill="rgb(0,0,0)" font-size="14" font-family="Arial" x="406px"
y="248px"
		transform="matrix(1 0 0 1 0 0)">90</text>
	<text fill="rgb(0,0,0)" font-family="Arial" font-size="12" x="27px"
y="32px"
		transform="matrix(1 0 0 1 0 0)">ANGLE</text>
	<text fill="rgb(0,0,0)" font-family="Arial" font-size="12" x="21px"
y="48px"
		transform="matrix(1 0 0 1 0 0)">OF BANK</text>
	<text fill="rgb(0,0,0)" font-family="Arial" font-size="12" x="114px"
y="32px"
		transform="matrix(1 0 0 1 0 0)">LOAD</text>
	<text fill="rgb(0,0,0)" font-family="Arial" font-size="12" x="106px"
y="47px"
		transform="matrix(1 0 0 1 0 0)">FACTOR</text>
	<text fill="rgb(0,0,0)" font-family="Arial" font-size="12" x="128px"
y="61px"
		transform="matrix(1 0 0 1 0 0)">n</text>
	<text fill="rgb(0,0,0)" font-family="Arial" font-size="12" x="41px"
y="62px"
		transform="matrix(1 0 0 1 0 0)">o</text>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1" x1="44" y1="50"
x2="44"
		y2="64" transform="matrix(1 0 0 1 0 0)"/>
	<text fill="rgb(0,0,0)" font-size="12" font-family="Arial" x="119px"
y="82px"
		transform="matrix(1 0 0 1 0 0)">1.0</text>
	<text fill="rgb(0,0,0)" font-size="12" font-family="Arial" x="119px"
y="101px"
		transform="matrix(1 0 0 1 0 0)">1.015</text>
	<text fill="rgb(0,0,0)" font-size="12" font-family="Arial" x="119px"
y="120px"
		transform="matrix(1 0 0 1 0 0)">1.154</text>
	<text fill="rgb(0,0,0)" font-size="12" font-family="Arial" x="119px"
y="141px"
		transform="matrix(1 0 0 1 0 0)">1.414</text>
	<text fill="rgb(0,0,0)" font-size="12" font-family="Arial" x="119px"
y="160px"
		transform="matrix(1 0 0 1 0 0)">2.000</text>
	<text fill="rgb(0,0,0)" font-size="12" font-family="Arial" x="119px"
y="178px"
		transform="matrix(1 0 0 1 0 0)">2.923</text>
	<text fill="rgb(0,0,0)" font-size="12" font-family="Arial" x="119px"
y="198px"
		transform="matrix(1 0 0 1 0 0)">5.747</text>
	<text fill="rgb(0,0,0)" font-size="12" font-family="Arial" x="113px"
y="217px"
		transform="matrix(1 0 0 1 0 0)">11.473</text>
	<path d="M132.884 233.623 C108.818 215.573 108.36 248.924 132.684 234.023"
		fill="none" stroke="rgb(0,0,0)" stroke-width="1"
		transform="matrix(1 0 0 1 0 0)"/>
	<path d="M132.884 233.623 C108.818 215.573 108.26 248.724 132.584 233.823"
		fill="none" stroke="rgb(0,0,0)" stroke-width="1"
		transform="matrix(-1 0 0 1 260.236 -8) translate(-5.2 7.9)"/>
	<text fill="rgb(0,0,0)" font-size="12" font-family="Arial" x="40px"
y="83px"
		transform="matrix(1 0 0 1 0 0)">0&#xb0;</text>
	<text fill="rgb(0,0,0)" font-size="12" font-family="Arial" x="39px"
y="102px"
		transform="matrix(1 0 0 1 0 0)">10&#xb0;</text>
	<text fill="rgb(0,0,0)" font-size="12" font-family="Arial" x="39px"
y="122px"
		transform="matrix(1 0 0 1 0 0)">30&#xb0;</text>
	<text fill="rgb(0,0,0)" font-size="12" font-family="Arial" x="40px"
y="140px"
		transform="matrix(1 0 0 1 0 0)">45&#xb0;</text>
	<text fill="rgb(0,0,0)" font-size="12" font-family="Arial" x="40px"
y="161px"
		transform="matrix(1 0 0 1 0 0)">60&#xb0;</text>
	<text fill="rgb(0,0,0)" font-size="12" font-family="Arial" x="40px"
y="179px"
		transform="matrix(1 0 0 1 0 0)">70&#xb0;</text>
	<text fill="rgb(0,0,0)" font-size="12" font-family="Arial" x="40px"
y="197px"
		transform="matrix(1 0 0 1 0 0)">80&#xb0;</text>
	<text fill="rgb(0,0,0)" font-size="12" font-family="Arial" x="40px"
y="218px"
		transform="matrix(1 0 0 1 0 0)">85&#xb0;</text>
	<text fill="rgb(0,0,0)" font-size="12" font-family="Arial" x="40px"
y="237px"
		transform="matrix(1 0 0 1 0 0)">90&#xb0;</text>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1" x1="232" y1="27"
		x2="232" y2="234" transform="matrix(1 0 0 1 0 0)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1" x1="232" y1="27"
		x2="232" y2="234" transform="matrix(1 0 0 1 -19 6) translate(41 -6)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1" x1="232" y1="27"
		x2="232" y2="234" transform="matrix(1 0 0 1 -19 6) translate(64 -5)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1" x1="232" y1="27"
		x2="232" y2="234" transform="matrix(1 0 0 1 -19 6) translate(86 -6)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1" x1="232" y1="27"
		x2="232" y2="234" transform="matrix(1 0 0 1 -19 6) translate(109 -6)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1" x1="232" y1="27"
		x2="232" y2="234" transform="matrix(1 0 0 1 -19 6)
translate(131.5 -6.5)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1" x1="232" y1="27"
		x2="232" y2="234" transform="matrix(1 0 0 1 -19 6) translate(153 -5.5)"/>
	<line fill="none" stroke="rgb(0,0,0)" stroke-width="1" x1="232" y1="27"
		x2="232" y2="234" transform="matrix(1 0 0 1 -19 6) translate(175.5 -5)"/>
</svg>

<!-- END -->


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org