- From: Dimitris Dimitriadis <dimitris.dimitriadis@improve.se>
- Date: Fri, 27 Apr 2001 17:54:00 +0200
- To: "'Jason Brittsan'" <jasonbri@microsoft.com>, www-dom-ts@w3.org
Jason, I have brought this to the Working Group's attention. The issue has been flagged as an open issue and is being discussed. Thanks /Dimitiris -----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 Dimitris, 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 listed. 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. Thanks, Jason -----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 number > of returned attributes is dependent on the DTD of the given platform. Is > 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 (or > nearly all) attributes a default value of an empty string. Netscape 6 > assigns no default attributes. A min-bar would dictate a minimum set of > attributes that should be defined (either by default of by declaration). > [jb] > My initial reaction is as I stated elsewhere: if the spec expects a certain set of attributes, this is what the implementation should expose. I suppose 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 answer. Ambiguity in the spec, a test case, or more detailed desciption on what you would expect from a certin test case would do. /Dimitris
Received on Friday, 27 April 2001 11:59:04 UTC