[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlrpc-dev
Subject:    Re: Information on configuring Woodstox to report CDATA sections without splitting text nodes into c
From:       Andreas Veithen <andreas.veithen () gmail ! com>
Date:       2015-09-11 21:29:28
Message-ID: CADx4_uVtkMxyZzmmLzG32Pq5mkEgF8LT5wPNOTb6CowaoDxs0w () mail ! gmail ! com
[Download RAW message or body]

I don't remember the specifics, but Woodstox has some custom property
that can be set on XMLInputFactory to specify the minimum text segment
length. The idea is to set this to Integer.MAX_VALUE or something.

Andreas

On Fri, Sep 11, 2015 at 7:31 AM, Sewmini Jayaweera <sewmini@wso2.com> wrote:
> Sorry about the previous email.
> 
> Hi Andreas,
> 
> In our product we use AXIOM for XML processing and pass XMLin non-coalescing
> mode ("javax.xml.stream.isCoalescing",false). As a result of this when we
> get a soap message which has a lengthy CDATA block axiom breaks down it into
> multiple CDATA chunks.
> 
> In your email [1] I noted you have stated that there is a way of configuring
> Woodstox to report CDATA sections without splitting text nodes into chunks.
> Will you please be able to point a document or any other reference guid on
> how to do it.
> 
> Your prompt response would be so much appreciated.
> 
> Thank You.
> Regards,
> Sewmini
> 
> [1]
> https://mail-archives.apache.org/mod_mbox/ws-commons-dev/201005.mbox/%3CAANLkTil8yCIp2L7nmJJS3-Po3zr4g6s38vCbY7ngjjUb@mail.gmail.com%3E
>  
> Sewmini Jayaweera
> Software Engineer - QA Team
> Mobile: +94 (0) 773 381 250
> sewmini@wso2.com
> 
> On Fri, Sep 11, 2015 at 11:52 AM, Sewmini Jayaweera <sewmini@wso2.com>
> wrote:
> > 
> > Hi Andreas,
> > 
> > In our product we use AXIOM for XML processing and pass XMLin
> > non-coalescing mode ("javax.xml.stream.isCoalescing",false). As a result of
> > this when we get a soap message which has a CDATA
> > 
> > 
> > Sewmini Jayaweera
> > Software Engineer - QA Team
> > Mobile: +94 (0) 773 381 250
> > sewmini@wso2.com
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic