You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Jeff Peterson (JIRA)" <ji...@apache.org> on 2006/06/14 00:09:30 UTC
[jira] Updated: (WSCOMMONS-43) Incorrect handling of default
namespace for attributes
[ http://issues.apache.org/jira/browse/WSCOMMONS-43?page=all ]
Jeff Peterson updated WSCOMMONS-43:
-----------------------------------
Attachment: AxiomAttributeTest.java.txt
Unit test illustrating issue
> 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
> Attachments: AxiomAttributeTest.java.txt
>
> 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org