Robert, When trying to reproduce what you describe, I am able to change the stroke-width in file 2 and see a difference after I save file 2 and reload file 1. However, I also see that because the origin of the rectangle is x="1.5" and y="1.5" and that the overflow on the root <svg> is "hidden" by default, the top and left edges of your rectangle will be clipped as soon as you have a stroke-width larger than 3 (because there is 1.5 on each side). Is that what you are seeing? If so, then I think Batik is doing the right thing.
Vincent. > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]