[cairo] Cairo and SVG
Baz
brian.ewins at gmail.com
Mon Dec 24 01:53:52 PST 2007
On Dec 24, 2007 9:33 AM, Emmanuel Pacaud <emmanuel.pacaud at lapp.in2p3.fr> wrote:
>
> Le dimanche 23 décembre 2007 à 15:23 -0800, Alan W. Irwin a écrit :
> > error #2: line: 15
> > The 'd' attribute of the <path> element is required: a value must be
> > specified.
>
> > <symbol overflow="visible" id="glyph0-3">
> > <path style="stroke: none;" d=""/>
> > </symbol>
>
> Looks like a bug in the validator here. I don't think an empty d
> attribute is an error. May be I'm wrong. I just hope any sane renderer
> would not stop the rendering on this sort of issue.
You're not wrong. The relevant bit of the grammar:
svg-path:
wsp* moveto-drawto-command-groups? wsp*
... clearly allows an empty d attribute, even in svg 1.0.
http://www.w3.org/TR/2001/REC-SVG-20010904/paths.html#PathDataBNF
>
>
> Emmanuel.
>
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
More information about the cairo
mailing list