Confirmation of xml:id behaviour

Hi.

Can I confirm that with the following document, “true” will be alerted,
yes?

  <svg xmlns='http://www.w3.org/2000/svg' xml:id='1'>
    <script>
      alert(document.getElementById('0') == document.documentElement);
    </script>
  </svg>

Thanks,

Cameron

-- 
Cameron McCormack, http://mcc.id.au/
 xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au

Received on Tuesday, 12 February 2008 05:32:01 UTC