Aki Yoshida created CXF-5191:
--------------------------------
Summary: StaxUtils readQName does not accept leading and trailing
whitespaces
Key: CXF-5191
URL: https://issues.apache.org/jira/browse/CXF-5191
Project: CXF
Issue Type: Bug
Components: Core
Affects Versions: 2.7.6, 2.6.9
Reporter: Aki Yoshida
Assignee: Aki Yoshida
According to XML Schema Datatype spec, QName allows leading and trailing
whitespaces (as it has the whitespace facet with fixed value "collapse" that
means the leading and trailing whitespaces are removed).
As StaxUtils.readQName(XMLStream reader) is not following this rule, you may
get the exception such as:
java.lang.RuntimeException: Invalid QName in mapping: soap:Server
at org.apache.cxf.staxutils.StaxUtils.readQName(StaxUtils.java:1533)
at
org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:64)
at
org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:51)
at
org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:40)
...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira