W3C home > Mailing lists > Public > www-xml-infoset-comments@w3.org > January to March 2000

declared namespaces and createAttributeNS

From: Jeroen van Rotterdam <jeroen@tcf.nl>
Date: Mon, 24 Jan 2000 17:00:21 +0100
Message-ID: <388C7715.E90648FF@tcf.nl>
To: www-xml-infoset-comments@w3.org

What would be the desired effect on the declared namespaces of a
particular element after the following dom operation:

  element.setAttributeNS( document.createAttributeNS(
"http://www.tcf.nl", "tcf:title" ) );

Is a namespace declaration added to element ? (f.i. prefix=tcf,
namespaceURI="http://www.tcf.nl")
note: a createAttributeNS doesn't have an element yet.


Are 2 namespace declarations with the same prefix allowed ?

Thanks in advance,

Jeroen
 
________________________________________________________
 name          : Jeroen van Rotterdam
 organization  : The Connection Factory b.v.
                 Grotekerkplein 38
                 3011 GE  Rotterdam, the Netherlands
 url           : http://www.tcf.nl
 email         : jeroen@tcf.nl
 tel           : +31 10 4046870
 fax           : +31 10 4046498
________________________________________________________
Received on Monday, 24 January 2000 10:59:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:00 UTC