W3C home > Mailing lists > Public > www-dom-ts@w3.org > April 2001

SV: [General] Platform independance

From: Dimitris Dimitriadis <dimitris.dimitriadis@improve.se>
Date: Fri, 27 Apr 2001 17:54:00 +0200
Message-ID: <9F67DC27F4CCD311ABA600508B6A66A44A61BB@VXOIMP1>
To: "'Jason Brittsan'" <jasonbri@microsoft.com>, www-dom-ts@w3.org

I have brought this to the Working Group's attention. The issue has been
flagged as an open issue and is being discussed.



-----Ursprungligt meddelande-----
Från: Jason Brittsan [mailto:jasonbri@microsoft.com]
Skickat: den 25 april 2001 00:50
Till: www-dom-ts@w3.org; Dimitris Dimitriadis
Ämne: FW: [General] Platform independance

My apologies for not attaching the file the first time.

-----Original Message-----
From: Jason Brittsan 
Sent: Monday, April 23, 2001 11:50 AM
To: 'Dimitris Dimitriadis'; 'www-dom-ts@w3.org'
Subject: RE: [General] Platform independance


The attached file demonstrates the issue related to attributes.  When
the file is loaded in Internet Explorer 6 Beta 2, 98 attributes are
listed.  When the file is loaded into Netscape 6.01, 2 attributes are

Internet Explorer assigns a default value of an empty string to all
attributes for a variety of reasons.  Netscape does not do this.

The DOM Level 1 spec is ambiguous about what attributes would show up in
the attribute collection.  The min-bar in this case should be "id" and
"bgcolor" since they are specified on the tag; however a user agent
should not fail the test because extra attributes appear.


-----Original Message-----
From: Dimitris Dimitriadis [mailto:dimitris.dimitriadis@improve.se] 
Sent: Wednesday, April 18, 2001 1:52 AM
To: 'www-dom-ts@w3.org'
Subject: SV: [General] Platform independance

> * The idea is that the test suite is platform independent. How do we
> provide tests for definitions, like the attribute collection? The
> of returned attributes is dependent on the DTD of the given platform.
> there a min-bar, like the attribute collections exists or not to
> validate these kinds of tests? 
> (DD to W3C WG)
> Can you forward a concrete example of this in the form of a test? [mb]
> I think this issue goes along with the last bullet under technical
> details.  Attaching a test case for the attributes collection:  In IE,
> this case will alert approximately 80 attributes because assign all
> nearly all) attributes a default value of an empty string.  Netscape 6
> assigns no default attributes.  A min-bar would dictate a minimum set
> attributes that should be defined (either by default of by
> [jb]
My initial reaction is as I stated elsewhere: if the spec expects a
set of attributes, this is what the implementation should expose. I
the min-bar would be this set.

I've now posed the question to the DOM WG. We would like to see a more
concrete example of what you mean, in order to be able to reach an
Ambiguity in the spec, a test case, or more detailed desciption on what
would expect from a certin test case would do.

Received on Friday, 27 April 2001 11:59:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:02 UTC