W3C home > Mailing lists > Public > www-dom-ts@w3.org > March 2002

domimplementationfeaturenull

From: Laszlo Nemeth <laszlo.nemeth@innovativeideasoy.com>
Date: Thu, 7 Mar 2002 07:26:34 -0500 (EST)
Message-Id: <200203071226.g27CQ4001334@nalle.netsonic.fi>
To: www-dom-ts@w3.org
Cc: laszlo.nemeth@innovativeideasoy.com
Hi,

I have found some missleading text in the doxygen documentation.

The doxygen documentation says:
> Retrieve the entire DOM document and invoke its "getImplementation()" 
> method. This should create a DOMImplementation object whose 
> "hasFeature(feature, version)" method is invoked with version equal 
> to "". If the version is not specified, supporting any version 
> feature will cause the method to return "true".

But actally hasFeauture is called with version=null, and not 
version="", as the following source shows (method runTest):

00063                                                     {
00064       Document doc;
00065       DOMImplementation domImpl;
00066       boolean state;
00067       doc = load("staff");
00068       domImpl = doc.getImplementation();
00069 state = domImpl.hasFeature("XML",null);
00070 assertTrue("hasXMLnull",state);
00071       
00072    }

I am not member of this mailing list, so please reply with reply all. 
Thanx.

br,
Laszlo


-- 
'real programmers don't die, they just get out of beta'

  Laszlo Nemeth laszlo.nemeth@innovativeideasoy.com
   Mobiles: +36-20-9133822(Hu), +358-40-5216558(Fi)
                     
Received on Wednesday, 13 March 2002 17:01:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:58:46 GMT