Hello, > -----Urspr�ngliche Nachricht----- > Von: Steve Meyfroidt [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 4. Dezember 2002 14:00 > An: Batik Users > Betreff: Floating point attributes > > > This SVG fails to load in Batik's Browser because of the > precision of the > stroke-width attributes. It was created with Batik's Graphics2D > implementation. > > I know this might seem an odd SVG but the parser shouldn't > barf on floating > point values I think. (It works fine in Adobe's SVG viewer.) > > This SVG won't load in JASC's WebDraw which complains about > malformed SVG: > line 4, column 481: Missing required attribute (width) > line 4, column 481: Bad element (svg) > >
I think the precision is not the problem, but the missing attributes (width, height) in the first svg-Element. Try <svg xmlns:xlink="http://www.w3.org/1999/xlink" style="fill-opacity:1; color-rendering:auto; color-interpolation:auto; stroke:black; text-rendering:auto; stroke-linecap:square; stroke-miterlimit:10; shape-rendering:auto; stroke-opacity:1; fill:black; stroke-dasharray:none; font-weight:normal; stroke-width:1; font-family:'sansserif'; font-style:normal; stroke-linejoin:miter; font-size:12; stroke-dashoffset:0; image-rendering:auto;" xmlns="http://www.w3.org/2000/svg" width="100" height="100"> or s.th. like that - and WebDraw will have no problems ... Cu, Christian. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
