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

Re: settting of attribute.specified

From: Philippe Le Hegaret <plh@w3.org>
Date: Mon, 19 Nov 2001 09:37:22 -0500
Message-ID: <3BF91922.330B708B@w3.org>
To: k m <mitchellkawork@hotmail.com>
Cc: www-dom-ts@w3.org
k m wrote:
> 
> I have found two DOM parser in which, when the host app changes the value of
> a text node that is a child of an attribute node, the attribute's
> "specified" flag does not change from false to true.  In both of these
> parsers using the "attribute-setting-methods" of the attribute's owner
> element to change the value of the attribue does change the "specified"
> flag.  Shouldn't changing the attribute value by changing the value of it's
> text child also change the value of the its "specified" flag?????

You are right. The value of the specified attribute must be changed by the
DOM implementation when the DOM application changed a text node that is
a child of an attribute node. I suggest to report this problem directly to
the developers of your DOM implementations.

Regards,
Philippe
Received on Monday, 19 November 2001 09:37:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:58:45 GMT