https://issues.apache.org/bugzilla/show_bug.cgi?id=49707

--- Comment #3 from Thomas Deweese <[email protected]> 2010-08-20 07:35:19 EDT 
---
(In reply to comment #2)

> YOUR code in the library is:
>     public void setAttributeNS(String namespaceURI,
>                                String qualifiedName,
>                                       ^^^^^^^^^^^^^^
> you want a QUALIFIED name as 2nd argument; ok that is as in W3C DOM
> documentation

>         Attr attr = getAttributeNodeNS(namespaceURI, qualifiedName);
>                                                      ^^^^^^^^^^^^^
> Here you give a QUALIFIED name as argument but as explained in the  online
> documentation, getAttributeNodeNS NEED a LOCAL name.

   I agree that this line is in error.  We should pass the localName
here, however

> So you have the incorrect behaviour I have explained in my first comment

   This I don't follow.  The call to getAttributeNodeNS will fail 
returning null, but that simply means that we create a new attribute
node which might be inefficient but wouldn't make getAttributeNodeNS
fail for you.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to