On 2010-01-25, Benson Margulies wrote:
On Mon, Jan 25, 2010 at 5:28 AM, Adam Funk <[email protected]> wrote:
On 2010-01-24, Benson Margulies wrote:
Is this a JAX-RS service returning XML?
No, it's a SOAP service (not REST).
There's no such thing, so far as I know, as xml:preserve-whitespace,
in a SOAP service. Where do you try to specify it?
The application in the service adds this attribute
xml:space="preserve"
to the document root element. I thought this would instruct
subsequent transformations to respect whitespace.
As Dan said, it could be that an Element representing TextWithNodes can have the whitespaces significant for your specific case lost
(not reported) by the reader. Perhaps the reader has to be instructed to report these whitespace nodes, which are non-significant by
default ?
Please check if whitespace nodes are reported and if not then may be CXF can introduce a contextual property which would ensure a
message-specific reader is instrcuted accordingly
cheers, Sergey