You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by Tatu Saloranta <co...@yahoo.com> on 2005/04/01 01:33:48 UTC

Re: problem with CDATA handliing

--- Martin Hamel <ma...@komunide.com> wrote:
> Le 31 Mars 2005 13:49, Tatu Saloranta a �crit :
> > Martin; I'm not sure if I follow this part: why
> would
> > an XML-parser care if something is enclosed as
> CDATA,
...
> Hi Tatu,
> 
> my problem is that my xml is generated by xmlbeans.
> Xmlbeans decides to 
> enclose my inner xml in CDATA. If I do that once
> again, I have a CDATA inside 
> a CDATA. 
...
> the closing of the CDATA is not good (&gt;). We
> could say that it is a bug of 
> the parser. But since the specification says that we
> should not put a CDATA 
> in a CDATA, it is not to blame. I would have
> prefered if xmlbeans had not 
> encoded my document B has CDATA. If things had been
> just escaped, everything 
> would have been fine. That is what the code I
> submited is doing. Nothing 
> much :-)

Ok, thank you for the explanation. That makes sense
now (as in looks like a bug).
I misunderstood you wanted CDATA for some reason; not
that you were served it (in invalid form). ;-)

-+ Tatu +-



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Personals - Better first dates. More second dates. 
http://personals.yahoo.com


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