https://issues.apache.org/bugzilla/show_bug.cgi?id=49707
Summary: Mix of qualified and local names for
AbstractElement.setAttributeNS
Product: Batik
Version: 1.7
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: SVG DOM
AssignedTo: [email protected]
ReportedBy: [email protected]
In the method "setAttributeNS" of the class "AbstractElement":
- the 2nd argument "qualifiedName" is supposed to be a qualified name
- a call to "getAttributeNodeNS" use the argument "qualifiedName"
- a call to "createAttributeNS" use the argument "qualifiedName"
The problem is that "getAttributeNodeNS" requires a local name (and not a
qualified name).
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).
--
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]