[jbossws-issues] [JBoss JIRA] Commented: (JBWS-3055) SOAPElementImpl.getElementsByTagName does not return correct results.
Darran Lofthouse (JIRA)
jira-events at lists.jboss.org
Tue Jun 8 10:15:41 EDT 2010
[ https://jira.jboss.org/browse/JBWS-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12534480#action_12534480 ]
Darran Lofthouse commented on JBWS-3055:
----------------------------------------
This is related to JBWS-2703. Initially getElementsByTagName had been incorrectly implemented to return elements based on their local name.
>From the getLocalName() javadoc: -
"Returns the local part of the qualified name of this node. "
>From the getTagName() javadoc: -
"The name of the element. If Node.localName is different from null, this attribute is a qualified name."
So the tagName is a qualified name.
> SOAPElementImpl.getElementsByTagName does not return correct results.
> ---------------------------------------------------------------------
>
> Key: JBWS-3055
> URL: https://jira.jboss.org/browse/JBWS-3055
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jbossws-native
> Affects Versions: jbossws-native-3.1.2
> Environment: jbossws version: JBossWS-native 3.1.2.SP3_CP01
> Reporter: Marek Baluch
> Attachments: sample.xml
>
>
> If SOAPElementImpl.getElementsByTagName(String str) method is called on an element which has a child element with a tag name <ns4:RequestedSecurityToken>...</ns4:RequestedSecurityToken> and the input parameter is only the name without namespace ("RequestedSecurityToken") then the element will not be found.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list