[ http://issues.apache.org/jira/browse/WSCOMMONS-43?page=all ]
     
Glen Daniels closed WSCOMMONS-43:
---------------------------------

    Resolution: Invalid

This is working as it should.  Default namespaces do not apply to attribute 
names (see http://www.w3.org/TR/REC-xml-names/#defaulting).


> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to