[ expat-Bugs-916718 ] CDATA Sections is not parsed Properly
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.text.xml.expat.bugs |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #916718, was opened at 2004-03-15 11:14 Message generated for change (Comment added) made by kwaclaw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=916718&group_id=10127 Category: None Group: None Status: Closed Resolution: Rejected Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Karl Waclawek (kwaclaw) Summary: CDATA Sections is not parsed Properly Initial Comment: When Expat encounters CDATA, it should parse it as a CDATA, but it's parsing normally ---------------------------------------------------------------------- >Comment By: Karl Waclawek (kwaclaw) Date: 2004-09-16 10:24 Message: Logged In: YES user_id=290026 Just to be clear, are you saying that you have registered both, a StartCDATASectionHandler and an EndCDATASectionHandler, and when Expat encounters a CDATA section it only calls the start handler, but not the end handler? ---------------------------------------------------------------------- Comment By: Rick Fisk (demidog) Date: 2004-09-16 00:21 Message: Logged In: YES user_id=339463 I don't know whether to enter a new bug or simply ask that this one be re-opened so I'll first comment here. I have discovered a problem with CdataEnd event in that the close tag of the CDATA block is somehow "lost." I am using XML::Simple in a perl script to parse XML and modify the content element of certain nodes. The closing CDATA tag (]]>) "disappears" when reading in the file. I can provide sample data and a script if that would help. The version of Expat I have verified this with is 1.95.1 and it is consistent across platforms. Cygwin and RedHat Linux 6.2 with this version of expat installed exhiit the same behavior. I'd tend to think it was my script but the script doesn't try any manipulation of the incoming XML other than to manipulate data within an XML::Simple hash datastructure before writing out the XML. The end tags for any CDATA are lost even before the data manipulation occurs. ---------------------------------------------------------------------- Comment By: Karl Waclawek (kwaclaw) Date: 2004-04-07 20:17 Message: Logged In: YES user_id=290026 Closed, because the original bug report is too unspecific, and the poster did not follow up on requests for more detail. ---------------------------------------------------------------------- Comment By: Karl Waclawek (kwaclaw) Date: 2004-03-15 13:00 Message: Logged In: YES user_id=290026 CDATA sections work fine for me. I have no idea what you mean - can you be more specific? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=916718&group_id=10127