W3C home > Mailing lists > Public > www-svg@w3.org > June 2003

changes in USE elements

From: Jim Ley <jim@jibbering.com>
Date: Thu, 26 Jun 2003 00:07:21 -0000
To: www-svg@w3.org
Message-ID: <bdddga$2jo$1@main.gmane.org>


After an IRC discussion today on how USE elements should be handled if
the referenced DOM changes, does the use element also change, it was
decided it does.  This led to a problem with external references, to
included document, consider:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
<svg width="10cm" height="3cm" viewBox="0 0 100 30"
  <desc>Simple USE demo</desc>
  <rect x=".1" y=".1" width="99.8" height="29.8"
        fill="none" stroke="blue" stroke-width=".2" />
  <use x="20" y="10" xlink:href="foo.svg#MyRect" />
<image xlink:href="foo.svg" id="one"/>
<image xlink:href="foo.svg" id="two"/>

If MyRect is changed in the image one, then does the referenced use
change aswell? as it's not been changed in two, which instance takes

Received on Wednesday, 25 June 2003 20:07:59 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:56 UTC