Radu,

today I started my computer and it was working(weird) , the cdata was
removed, but now the xml string content was replace with "xml entity" "<" =
"&lt;" .

Now I need fix it... (I think that is xml problem and not xmlbeans problem,
but is not sure about it.)

anywhere you could find my sample project(eclipse) at :
http://www.alexflorentino.com/xml_help.zip

thanks a lot,

Alex

On Thu, Mar 13, 2008 at 9:22 PM, Radu Preotiuc-Pietro <[EMAIL PROTECTED]> wrote:

> These are the right options, can you post the exact code you're using?
>
> Radu
>
> On Thu, 2008-03-13 at 08:32 -0300, Alex Florentino wrote:
> > any idea ?
> >
> > On Wed, Mar 12, 2008 at 11:40 AM, Alex Florentino
> > <[EMAIL PROTECTED]> wrote:
> >         I am using the xmlbeans 2.3.0
> >
> >         I have a document that have another xml document sample:
> >
> >         <OTAHotel>
> >         <Message>
> >         <!-- another xmldocument -->
> >         <CONFIRMMESSAGE>
> >         </CONFIRMMESSAGE>
> >         </Message>
> >         </OTAHotel>
> >
> >         the problem is that  xmlbeans put this xml
> >         content(CONFIRMMESSAGE) how cdata content, and my
> >         third-partner don't is be able handler it.
> >
> >         I need that xmlbeans don't put the content as CDATA .
> >
> >         I already try use XmlOptions :
> >
> >         public XmlOptions setSaveCDataLengthThreshold(int
> cdataLengthThreshold)
> >
> >         public XmlOptions setSaveCDataEntityCountThreshold(int
> cdataEntityCountThreshold)
> >
> >
> >         setSaveCDataLengthThreshold(10000000)
> >         setSaveCDataEntityCountThreshold(-1)
> >
> >         and another combinations and still the document is generated
> with cdata.
> >
> >         Someone have anyone idea how I resolve it ?
> >
> >
> >
> >         thanks a lot,
> >
> >         Alex Florentino
> >
> >
> >
> >
>
> Notice:  This email message, together with any attachments, may contain
> information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
> entities,  that may be confidential,  proprietary,  copyrighted  and/or
> legally privileged, and is intended solely for the use of the individual or
> entity named in this message. If you are not the intended recipient, and
> have received this message in error, please immediately return this by email
> and then delete it.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to