On Fri, 13 Sep 2002, Perry A. Caro wrote: [deleted] > prefix: "xmlns" > } > > Result[2] = XPathNamespace { // Note: omitted attributes are null or false > nodeName: "" // i.e., empty string, NOT null > nodeType: 13 > ownerDocument: (Document node) > namespaceURI: "default/" > prefix: "" // i.e., empty string, NOT null > } > > ========================= > > Things I'm not completely sure about: > [deleted] > > * For xmlns="default/", should the nodeName and prefix be empty string, or > null? I'm assuming empty, because I can find no reference in any DOM Core > spec that permits nodeName to be null, and I'm told that anything not > expressly permitted in the spec is forbidden. > as per the DOM L3 core spec the prefix for default namespace should be null. See http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20020409/core.html#ID-1950641247. -vivek. > Perry A. Caro > Adobe Systems Incorporated > > -- Vivek Pandey XML & Webservices Sun Microsystems, Inc.Received on Friday, 13 September 2002 19:58:04 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:56 GMT