W3C home > Mailing lists > Public > www-svg@w3.org > June 2004

Re: Does SVG 1.0 define this?

From: Antoine Quint <ml@graougraou.com>
Date: Sat, 12 Jun 2004 22:45:18 +0200
Message-Id: <6A8D1F96-BCB1-11D8-88C1-000393D124C4@graougraou.com>
Cc: www-svg@w3.org
To: Ian Hickson <ian@hixie.ch>
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 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:27 GMT