You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2010/08/20 01:01:23 UTC

DO NOT REPLY [Bug 49707] Mix of qualified and local names for AbstractElement.setAttributeNS

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

--- Comment #1 from Helder Magalhães <he...@gmail.com> 2010-08-19 19:01:21 EDT ---
(In reply to comment #0)
> In the method "setAttributeNS" of the class "AbstractElement":

The relevant documentation can be found online (Batik class [1] which
implements a W3C DOM interface [2]).


> So, when I give a qualified name as second argument to "setAttributeNS",
> the serach made by "getAttributeNodeNS" always return null (even when the
> attribute already exists).

You seem to be using distinct DOM interfaces to achieve apparently related
results...? (It seems like you'd want to use "getAttributeNS" [1] instead.)

Please check the proper documentation and confirm if the above makes sense
(maybe marking the issue as invalid), or please try to add more information.
;-)


[1]
http://xmlgraphics.apache.org/batik/javadoc/org/apache/batik/dom/AbstractElement.html#getAttributeNodeNS%28java.lang.String,%20java.lang.String%29
[2]
http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/Element.html#getAttributeNodeNS_java.lang.String__java.lang.String_

-- 
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: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org