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

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 UTC