W3C home > Mailing lists > Public > public-webapi@w3.org > February 2006

[REX] Repeated IDs in a REX message

From: Cameron McCormack <cam-public-webapi@aka.mcc.id.au>
Date: Sat, 11 Feb 2006 16:26:38 +1100
To: public-webapi@w3.org
Message-ID: <20060211052638.GA4740@port.mcc.id.au>


Is it problematic that you may want to use a repeated xml:id on a child
of an 'event' element?  Something like:

  <rex xmlns="http://www.w3.org/2006/rex"
    <event target="id('c')" name="DOMNodeRemoved">
      <svg:circle xml:id="c" cx="100" cy="200" r="5"/>
    <event target="id('c')" name="DOMNodeRemoved">
      <svg:rect xml:id="c" x="95" y="195" width="10" height="10"/>

The REX message document then has an xml:id error.  I don't think it is
inconceivable that you would have multiple replacements of an element
with an ID, especially if the events are being streamed over a period
of time.



 Cameron McCormack			ICQ: 26955922
 cam (at) mcc.id.au			MSN: cam (at) mcc.id.au
 http://mcc.id.au/			JBR: heycam (at) jabber.org
Received on Saturday, 11 February 2006 06:10:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:19 UTC