[
https://issues.apache.org/jira/browse/WSCOMMONS-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906238#action_12906238
]
Andreas Veithen commented on WSCOMMONS-560:
-------------------------------------------
getNamespaceURI does return the "computed" namespace of the element, provided
that the Element instance has been created by a namespace aware parser or using
one of the namespace aware DOM 2 methods. The code looks OK to me.
> XDomUtil uses wrong check for namespaces
> ----------------------------------------
>
> Key: WSCOMMONS-560
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-560
> Project: WS-Commons
> Issue Type: Bug
> Components: XmlSchema
> Affects Versions: XmlSchema 1.4.5
> Reporter: Benson Margulies
>
> All the functions in here are badly broken. They call getNamespaceURI as it
> it returned the computed namespace of the element, not just the local
> declared namespace. It's fairly susprising that this seems to cause as
> little trouble as it does.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.