On Friday, March 30, 2012 07:42:18 AM BillJames@Q wrote:
> Yes, thanks.  We've determined that they are NOT sending that version info
> with their response, and that the parser is working correctly.
> Unfortunately, this doesn't solve the problem.  I guess it's helpful to
> know that if the version declaration WAS put in the response, then the
> parser would parse it using XML 1.1?
> 
> I was originally asking if there was a way to get the CXF client to
> /expect/ XML 1.1 (essentially making it the default), as I know that's
> what's being sent.

I don't see an "easy" way.  You would likely  need to stick an interceptor 
in the chain that runs before the stax in interceptor that would take the 
InputStream and wrap it with a new stream that would either filter the 1.0 
prologue into a 1.1 version or, if there isn't a prologue there, fake one 
that states 1.1.  

Dan


> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Configuring-CXF-to-expect-XML-1-1-tp56055
> 04p5606861.html Sent from the cxf-user mailing list archive at Nabble.com.
-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to