W3C home > Mailing lists > Public > www-svg@w3.org > January 2005

This might be a stupid question...

From: Cameron McCormack <cam-www-svg@aka.mcc.id.au>
Date: Fri, 14 Jan 2005 15:13:49 +1100
To: www-svg@w3.org
Message-ID: <20050114041349.GF31128@port.mcc.id.au>

...but what happens if you change the value of the version attribute on
the document element?

  <svg xmlns="http://www.w3.org/2000/svg" version="1.2">
    <solidColor solid-color="red"/>
    <rect width="100%" height="100%"
          onclick="document.documentElement.setAttributeNS(null, 'version', '1.1')"/>
  </svg>

After clicking the rect, is the document in error?

Also, while I'm talking about solidColor, what is the purpose of the
stop element as a child of solidColor?  The schema says that it is
allowed but I'm not sure why.

Cameron

-- 
Cameron McCormack
|  Web: http://mcc.id.au/
|  ICQ: 26955922
Received on Friday, 14 January 2005 04:13:55 GMT

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