[Expat-bugs] [ expat-Bugs-916718 ] CDATA Sections is not parsed Properly

SourceForge.net noreply at sourceforge.net
Thu Sep 16 06:21:19 CEST 2004


Bugs item #916718, was opened at 2004-03-15 16:14
Message generated for change (Comment added) made by demidog
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: Rick Fisk (demidog)
Date: 2004-09-16 04: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-08 00: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 18: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


More information about the Expat-bugs mailing list