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

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

From: Satoshi ISHIKAWA <pastelsbadges@nyc.odn.ne.jp>
Date: Fri, 22 Feb 2002 13:37:54 +0900
To: <www-svg@w3.org>
Message-ID: <B89BFA31.4BE%pastelsbadges@nyc.odn.ne.jp>
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 GMT

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