W3C home > Mailing lists > Public > www-svg@w3.org > February 2002

Re: An invalid example in SVG 1.0 Spec. - Chapter 17.1

From: Dean Jackson <dean@w3.org>
Date: Mon, 25 Feb 2002 03:11:28 +1100
Message-ID: <3C7910B0.7050702@w3.org>
To: Satoshi ISHIKAWA <pastelsbadges@nyc.odn.ne.jp>
CC: www-svg@w3.org
Satoshi ISHIKAWA wrote:
> Tobias Reif wrote:
> 
> 
>>But ist is valid. Complete valid document:
>>
>><?xml version="1.0" encoding="UTF-8" standalone="no"?>
>><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
>>   "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
>><svg width="5cm" height="3cm" viewBox="0 0 5 3"
>>xmlns="http://www.w3.org/2000/svg"
>>xmlns:xlink="http://www.w3.org/1999/xlink"/>
>>
> 
> Sorry, I cannot understand why it is valid.
> In 'svg10.dtd' [1], attributes for 'svg' element are
> declared as follows:
> 
> <!ATTLIST svg
>     xmlns CDATA #FIXED "http://www.w3.org/2000/svg"
>     %stdAttrs; 
>     %testAttrs; 
>     %langSpaceAttrs;
>     externalResourcesRequired %Boolean; #IMPLIED
>     class %ClassList; #IMPLIED
>     style %StyleSheet; #IMPLIED
>     %PresentationAttributes-All;
>     viewBox %ViewBoxSpec; #IMPLIED
>     preserveAspectRatio %PreserveAspectRatioSpec; "xMidYMid meet"
>     zoomAndPan (disable | magnify) "magnify"
>     %graphicsElementEvents;
>     %documentEvents;
>     version %Number; #FIXED "1.0"
>     x %Coordinate; #IMPLIED
>     y %Coordinate; #IMPLIED
>     width %Length; #IMPLIED
>     height %Length; #IMPLIED
>     contentScriptType %ContentType; "text/ecmascript"
>     contentStyleType %ContentType; "text/css"
> 
> 
> Attribute 'xmlns:link' does not appear.
> 

Satoshi is correct. We've known about this for a while and
an errata is about to be published.

Dean
Received on Sunday, 24 February 2002 11:11:51 GMT

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