cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: CXF loses whitespace text nodes on the client side?
Date Sun, 24 Jan 2010 17:14:26 GMT
Is this a JAX-RS service returning XML?

On Sun, Jan 24, 2010 at 10:39 AM, Adam Funk <a24061@ducksburg.com> wrote:
> On 2010-01-22, Adam Funk wrote:
>
>> I'm working on a web-service client using a set of CXF-based tools
>> developed by a colleague who knows a lot more about WSs than I do
>> (although he couldn't explain the following problem).
>
> FWIW, we use CXF 2.1.5, although I just tried it with 2.2.5 and got
> the same problem.
>
>
>> #v+
>> <TextWithNodes><Node id="0"/> <Node id="1"/>Internationalisation<Node
id="21"/> <Node id="22"/>vertical<Node id="30"/> <Node id="31"/>stream<Node
id="37"/>:<Node id="38"/> <Node id="39"/>INT<Node id="42"/> <Node
id="43"/>VS<Node id="45"/> <Node id="46"/>UPDATE<Node id="52"/>&#xD;
>> #v-
>>
>> But the Element is serialized as follows:
>>
>> #v+
>> <TextWithNodes><Node id="0"/><Node id="1"/>Internationalisation<Node
id="21"/><Node id="22"/>vertical<Node id="30"/><Node id="31"/>stream<Node
id="37"/>:<Node id="38"/><Node id="39"/>INT<Node id="42"/><Node id="43"/>VS<Node
id="45"/><Node id="46"/>UPDATE<Node id="52"/>
>> #v-
>
> Is it fair to say that disregarding the xml:space="preserve" attribute
> this way is a bug in CXF?  Or is there some configuration option that
> I'm failing to set?
>
> Thanks,
> Adam
>
>

Mime
View raw message