Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.21.0

Request #3180 Serialize/unserialize CDATA elements
Submitted: 2005-01-12 19:52 UTC
From: roehr at zilleon dot com Assigned: schst
Status: Closed Package: XML_Serializer
PHP Version: Irrelevant OS: irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2005-01-12 19:52 UTC] roehr at zilleon dot com
Description: ------------ Hi, it would be great to be able to serialize/unserialize CDATA elements. As XML_Serializer sits on top of XML_Util and Util does provide this feature, maybe it's not that hard to integrate this into XML_Serializer as well. Thank you very much for your efforts! Best regards, Torsten Roehr

Comments

 [2005-01-13 12:39 UTC] roehr at zilleon dot com
One more thing: Why is htmlspecialchars() applied by default when serializing? Shouldn't the resulting XML string be output-neutral? Maybe you could add an option for this that defaults to true to keep BC. Thank you.
 [2005-01-13 12:45 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-01-14 16:29 UTC] pear at yavanna dot net
I don't know about serializing CDATA Elements with XML_Serializer, but unserialize works. Though the data's spaces are trimmed at beginning and end (in the endHandler of XML_Unserializer), which is definitively undesired. If you kindly could consider this in the next release? Thanks!
 [2005-01-14 16:33 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-09-22 14:54 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!