Re: Does SVG 1.0 define this?

On 12 juin 04, at 21:40, Ian Hickson wrote:

> Is the following SVG fragment technically in error? If so, where does 
> the
> SVG specification say so? If not, what should happen?
>
>    <svg xmlns="http://www.w3.org/2000/svg"
>         xmlns:xlink="http://www.w3.org/1999/xlink">
>      <rect x="10" y="10" height="100" width="100" fill="blue"
>            xlink:href="data:,test" xlink:type="simple"/>
>    </svg>

It is invalid if you want to validate it against the SVG 1.1 DTD, since 
none of the XLink attributes are allowed on the <rect> element:

http://www.w3.org/TR/SVG11/shapes.html#RectElement

Antoine
-- 
Antoine Quint <aq@fuchsia-design.com>
W3C SVG Working Group Invited Expert
SVG Consulting, Teaching and Outsourcing

Received on Saturday, 12 June 2004 16:45:21 UTC