W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2003

Re: More L3 Core Comments

From: Curt Arnold <carnold@houston.rr.com>
Date: Thu, 28 Aug 2003 23:21:39 -0500
Message-ID: <3F4ED4D3.9060902@houston.rr.com>
To: www-dom@w3.org

Philippe Le Hegaret wrote:

>On Thu, 2003-07-17 at 00:25, Curt Arnold wrote:
>  
>
>>Interface DOMImplementationSource:
>>
>>I dislike the form of this interface for a couple of reasons: 
>> it 
>>requires that each implementation source to parse the features list 
>>which could have been done once for all implementation sources
>>    
>>
>
>correct, but no having a single String would requires passing a more
>complex structure between the DOMImplementationRegistry and the
>DOMImplementationSource.
>
Since an implementation probably has code to parse the feature string to 
support hasFeature(), preparsing the feature string wouldn't effectively 
reduce the complexity of an implementation.

>We clarified the description of getDOMimplementation as follows:
>[[
>This method returns the first item of the list returned by
>getDOMImplementationList.
>]]
>
>(note that getDOMimplementationList used to getDOMImplementations but
>has been renamed)
>
It was fairly obvious that they should be consistent, but requiring 
duplicate implementations leaves the possibility that they aren't.  
getDOMImplementationList also appeared to be used by nothing which could 
also hide implementation errors.

>>I believe that eliminates any use of DOMImplementationList so that 
>>interface could be eliminated.
>>    
>>
>
>This seems orthogonal to your proposal. getDOMImplementationList returns
>a list of DOM implementations.
>
>  
>
getDOMImplementations() seemed to be required of an implementation 
source but never used by a DOMImplementationRegistry.
Received on Friday, 29 August 2003 00:46:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:57 GMT