[REX] Repeated IDs in a REX message

Hi.

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

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.

Thanks,

Cameron

-- 
 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