Re: CData section

2004-11-24 Thread Gareth Reakes
< becomes &lt;. Thanks, Frank -Original Message- From: Gareth Reakes [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 3:13 AM To: [EMAIL PROTECTED] Subject: Re: CData section Hi, Do you mean you get the result when you serialize, or in the event in your

RE: CData section

2004-11-24 Thread Xiaofan Zhou
I got it in mu event handler, so when I serialize it I got a problem, like < becomes &lt;. Thanks, Frank -Original Message- From: Gareth Reakes [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 3:13 AM To: [EMAIL PROTECTED] Subject: Re: CData section Hi,

Re: CData section

2004-11-24 Thread Gareth Reakes
Hi, Do you mean you get the result when you serialize, or in the event in your handler? Gareth On 24 Nov 2004, at 6:56, Xiaofan Zhou wrote:   Hi All,     I am using the Xerces c++ SAX parser to parse my xml file.  I have a question regarding CData section, here is the example:            

Re: CData section

2004-11-05 Thread david_n_bertoni
> I have a question regarding CData Section, say I have an element > in XML defined as following: > > > > > > When I use the SAX parser in Xerces-c, I got the character data for the element "Customer", > is this the expected behavior? Yes. > I thought the data should be the whole thin

RE: CDATA section

2003-03-11 Thread Jesse Pelton
t;." -Original Message- From: Gareth Reakes [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 12:02 PM To: [EMAIL PROTECTED] Subject: Re: CDATA section Hi, Ill take a look into why this is. My understanding of the feature is that it should have no effect on escaping. And on refe

Re: CDATA section

2003-03-11 Thread Gareth Reakes
gt; - Original Message - > From: "Tony Dodd" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, March 11, 2003 1:10 PM > Subject: RE: CDATA section > > > > Pablo > > > > I found just the same. This problem will go away i

Re: CDATA section

2003-03-11 Thread Pablo Yabo
thanks, that was the solution. Pablo - Original Message - From: "Tony Dodd" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 11, 2003 1:10 PM Subject: RE: CDATA section > Pablo > > I found just the same. This problem will go away if yo

RE: CDATA section

2003-03-11 Thread Tony Dodd
Pablo I found just the same. This problem will go away if you set split-cdata-sections to false, assuming you can safely do that. Tony Dodd >-Original Message- >From: Pablo Yabo [mailto:[EMAIL PROTECTED] >Sent: 11 March 2003 13:40 >To: [EMAIL PROTECTED] >Subject: Re

Re: CDATA section

2003-03-11 Thread Pablo Yabo
- Original Message - From: "Jesse Pelton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 11, 2003 10:15 AM Subject: RE: CDATA section > I don't know if it would be relevant, but you've omitted the opening square > bracket in your

RE: CDATA section

2003-03-11 Thread Jesse Pelton
lto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 7:49 AM To: [EMAIL PROTECTED] Subject: Re: CDATA section I've got a code fragment: ... m_formTarget = new MemBufFormatTarget; theSerializer->writeNode(m_formTarget, *m_doc); delete theSerializer; return (const char *) m_formTa

Re: CDATA section

2003-03-11 Thread Pablo Yabo
r they are written as: Pablo - Original Message - From: "Gareth Reakes" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 11, 2003 9:16 AM Subject: Re: CDATA section > Hi, > post the snippet of code where you do this and I will annotate it >

Re: CDATA section

2003-03-11 Thread Gareth Reakes
ment here? > > Pablo > - Original Message - > From: "Gareth Reakes" <[EMAIL PROTECTED]> > To: "xerces" <[EMAIL PROTECTED]> > Sent: Tuesday, March 11, 2003 5:54 AM > Subject: Re: CDATA section > > > > Hi, > > when the conte

Re: CDATA section

2003-03-11 Thread Pablo Yabo
but, I send the tree to a MemBufFormatTarget and then I get the text with getRawBuffer. How can I get the original document here? Pablo - Original Message - From: "Gareth Reakes" <[EMAIL PROTECTED]> To: "xerces" <[EMAIL PROTECTED]> Sent: Tuesday, March 11,

Re: CDATA section

2003-03-11 Thread Gareth Reakes
Hi, when the content is serialized xerces will escape < characters in CDATA as this would make the document illegal. It will remove them again when you parse. Gareth On Mon, 10 Mar 2003, Pablo Yabo wrote: > Hi, > How can I add a string "something" in the data section. > When I add the