[ 
https://issues.apache.org/jira/browse/WSCOMMONS-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906243#action_12906243
 ] 

Benson Margulies commented on WSCOMMONS-560:
--------------------------------------------

Andreas,

I just reached that conclusion for myself.

I'm looking at a very strange schema DOM document produced in CXF by JAXB.

The doc element has a namespace prefix declaration for the xs prefix, but all 
of the elements inside have namespaceURI=null and no qualified name in them 
anywhere. So the code in XDOMUtil (correctly?) doesn't think that they are 
inside the XML schema namespace and doesn't process any of them.

Now I have to go figure out if JAX-B actually produced these or what.



> 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.

Reply via email to