Namespace support in MS/Datachannel

What (obvious) thing am I missing in the MS/Data Channel DOM? In the following code, localName is correct ("A") but nsURI is null.

   com.datachannel.xml.om.Document doc = new com.datachannel.xml.om.Document();
   doc.load("test.xml");
   Element root = doc.getDocumentElement();
   String localName = ((IXMLDOMNode)root).getBaseName();
   String nsURI = ((IXMLDOMNode)root).getNamespaceURI();

test.xml contains the following:

   <!DOCTYPE foo:A [
      <!ELEMENT foo:A (#PCDATA)>
      <!ATTLIST foo:A xmlns:foo
                CDATA #FIXED "http://foo.org">
   ]>
   <foo:A xmlns:foo="http://foo.org">bar</foo:A>

Thanks,

-- Ron Bourret

Received on Tuesday, 11 May 1999 11:06:41 UTC