Re: Conceptual modelling of attributes

On Tue, 12 Jun 2007 06:56:01 +0200, Karl Dubost <karl@w3.org> wrote:
> Le 12 juin 2007 à 01:54, Anne van Kesteren a écrit :
>> On Mon, 11 Jun 2007 17:20:39 +0200, Henrik Dvergsdal  
>> <henrik.dvergsdal@hibo.no> wrote:
>>> getAttribute must return null if the attribute is not present.
>>
>> It is correct that user agents have to do that, but there is no  
>> specification so far that supports that assertion.
>
> Hmmm, it sounds strange, to be able to retrieve the value of something  
> which doesn't exist. Because in this case getAttributeNode = Null
> http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ 
> core.html#ID-745549614

Sure, but getAttribute doesn't. getAttribute returns the empty string per  
specification. There needs to be a new type of DOM specification for web  
browsers...


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Tuesday, 12 June 2007 07:50:20 UTC