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

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.

[1] http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd
    urn:publicid:-:W3C:DTD+SVG+20010904:EN

Regards,
-- 
Satoshi ISHIKAWA / pastelsbadges@nyc.odn.ne.jp

Received on Thursday, 21 February 2002 23:40:28 UTC