xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Hardy <vincent.ha...@sun.com>
Subject Re: Inline Styles
Date Tue, 04 Sep 2001 07:08:41 GMT
Brent,

Did you try using fill-rule (with a dash)? This is the correct spelling
for the property.

Vincent.

Brent L Johnson wrote:
> 
> I figured it out - it turns out, like Jasc WebDraw, Batik didn't like the
> "fillrule" style that the XSL doc in the tutorial was using.  I removed that
> and changed the color strings to their codes (like red to #FF0000) and that
> seemed to work fine.
> 
> - Brent
> 
> > -----Original Message-----
> > From: Brent L Johnson [mailto:brent@bjohnson.net]
> > Sent: Monday, September 03, 2001 5:49 PM
> > To: Batik-Users
> > Subject: Inline Styles
> >
> >
> > I've been working with the IBM tutorial on using Xalan to process an XML
> > file of data (against a stylesheet) which outputs an SVG file.  I can take
> > this file and load it into Jasc's WebDraw, for example, and it works just
> > fine (it does complain about the "fillrule" but it still displays it).
> >
> > It's a tutorial on creating bar and pie charts dynamically from XML data
> > (great one at that).  Just in case anyone is interested here is the URL:
> > http://www-106.ibm.com/developerworks/education/transforming-xml/x
> mltosvg/in
> > dex.html
> >
> > The problem is - when I take the SVG output and try and use the Batik
> > transcoder to then output the file as a jpeg i get this error:
> >
> > org.w3c.dom.DOMException: An element of type "path" has an invalid inline
> > style:
> > An error occured while parsing the following style declaration:
> > fill:red; stroke:black; stroke-width:2;
> > fillrule:evenodd;
> > stroke-linejoin:miter;
> > there was a problem generating the image:
> > org.w3c.dom.DOMException: An element of type "path" has an invalid inline
> > style:
> > An error occured while parsing the following style declaration:
> > fill:red; stroke:black; stroke-width:2;
> > fillrule:evenodd;
> > stroke-linejoin:miter;
> >
> > Any help on getting this to work?  (I've attached the SVG file to this)
> >
> > Thanks,
> >
> > - Brent
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org

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


Mime
View raw message