I had actually spent quite a bit of time going through W3CDOMStreamReader.newFrame(...) and StaxUtils, and what I found is that NamedNodeMap nodes = element.getAttributes(); only contained the non-namespace attributes. As such, all the conditional code following that which checked for "xmlns" was ignored and the attributes were all added, but no namespaces were declared.
Based on your suggestion that my implementation of SAAJ may be to blame, I debugged it again this weekend, manually specifying the SAAJ implementation with the System.setProperty syntax. Voila! My app had found the Axis 1.4 implementation of SAAJ. Apparently it does not provide the namespace attributes in the element.getAttributes() but provides enough not to cause other problems with what I was doing. I've done enough digging through that code to last me a lifetime :) Seriously though, thanks again for pointing me in the right direction. Hopefully you can close that issue now. -- View this message in context: http://www.nabble.com/Handler--%3E-Interceptor-Namespace-Removal-tp19805539p19977225.html Sent from the cxf-user mailing list archive at Nabble.com.
