- From: <keshlam@us.ibm.com>
- Date: Thu, 18 May 2000 17:23:46 -0400
- To: kboone@ebt.com
- cc: "DOM (E-mail)" <www-dom@w3.org>
Minor opportunity for memory-management optimization. Some DOMs (eg those which run as proxy for other data representations) may not create actual Attr objects until they're retrieved. hasAttribute tests for presence without requiring that the object be instantiated. Basically, it's a workaround for the fact that getAttribute can't distinguish attribute-doesn't-exist from attribute-value-is-empty-string. Not essential, but "mostly cheap and harmless". ______________________________________ Joe Kesselman / IBM Research
Received on Thursday, 18 May 2000 17:24:07 UTC