You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by r d <ba...@hotmail.com> on 2001/12/15 00:01:40 UTC

[possible bug.....what do you think?

Hello,

  I have a two svg files......In the first file I use the "image" tag to 
reference the second svg file ran the svgbrowser.....everything fine so 
far....then I ran into trouble...I adjusted the stroke-width....and ran the 
file again....the stroke-width did not change....so I ran it in Adobe viewer 
3.0....and the stroke-width changed.....so the question is.... is this a 
[bug] in the Batik-svgbrowser.jar or is Adobe wrong...I hate to say it 
....but I think Batik behavior is wrong:

here is the code:

#######
file 1
#######

<?xml version="1.0" standalone="no"?>

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"

	"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">

<svg x="0" y="0" width="500" height="500" viewBox="-300 -300 1000 1000">
<image 	x=		"0"
	y=		"0"
	width=		"110"
	height= 	"160"
	xlink:href=	"specification.svg"/>

</svg>

#######
file 2
#######
<?xml version="1.0" standalone="no"?>

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"

	"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">

<svg x="0" y="0" width="100%" height="100%">
<g	id="SVGspecification">

	<rect	x=		"1.5"
		y=		"1.5"
		width=		"100"
		height=		"150"
		fill=		"none"
		stroke=		"black"
		stroke-width=	"3">
		<desc>specification</desc>
	</rect>
	<text	x=		"51.5"
		y=		"30"
		text-anchor=	"middle">
		SVG Specification
	</text>

</g>


</svg>

I have not filed a bug report let me know if I should

We all learn by sharing what we know
Robert A. DiBlasi
www.svgnotebook.com (building as we speak :-)

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


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