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

PR-DOM-Level-1-19980818 Element.setAttribute

From: Richard Emberson <emberson@faslab.com>
Date: Thu, 27 Aug 1998 09:23:33 -0700
Message-Id: <199808271623.JAA05392@edinburgh.faslab.com>
To: www-dom@w3.org
Cc: emberson@berkeley.faslab.com

The interface to an Element allows one to change the value
of an Attribute:

    void setAttribute(String name, String value) throws DOMException ...

It is my understanding that Attributes are typed, but the above
interface does not throw a DOMException if the type of the 'value'
parameter is not the type allowed for the attribute matching 
the 'name' parameter.

Please illuminate.


Richard Emberson
Received on Thursday, 27 August 1998 12:23:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:04 UTC