Incorrect handling of default namespace for attributes
------------------------------------------------------
Key: WSCOMMONS-43
URL: http://issues.apache.org/jira/browse/WSCOMMONS-43
Project: WS-Commons
Type: Bug
Components: AXIOM
Environment: Windows XP, SJSXP parser
Reporter: Jeff Peterson
Axiom appears to not discover the default namespace of an attribute. For
example, given the XML:
<foo xmlns="http://www.example.com"><bar name="foobar" /></foo>
If I were to get the OMElement for <bar> and perform a getAttributeValue() call
with the QName "{http://www.example.com}name", null will be returned. Using
the Eclipse debugger I can see that the hashmap storing the attributes has null
for the namespace of the "name" attribute.
See the attached unit test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]