[
https://issues.apache.org/jira/browse/CXF-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040241#comment-13040241
]
Christian Schneider commented on CXF-1291:
------------------------------------------
elementFormDefault='unqualified' does not mean that there are no namespaces. It
just means that a xmlns default namespace is specified and so not every element
needs a prefix. So I think this is not what the users want here.
> Create an interceptor to strip XML namespaces....
> -------------------------------------------------
>
> Key: CXF-1291
> URL: https://issues.apache.org/jira/browse/CXF-1291
> Project: CXF
> Issue Type: New Feature
> Components: Core
> Affects Versions: 2.0.3
> Reporter: Daniel Kulp
>
> A couple of folks on cxf-user have asked for the ability to return XML with
> all the namespaces completely stripped out.
> An "interesting" approach could be to add an interceptor immediately after
> the StaxOutInterceptor that would wrapper the XMLStreamWriter with a writer
> that would discard all namespace related events. We just need the
> interceptor to be created. Adding it can be a configuration item for the
> user.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira