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

Bug #16154 Chars disapper when unserialize
Submitted: 2009-04-27 17:00 UTC
From: jordic Assigned:
Status: Duplicate Package: XML_Serializer (version 0.19.2)
PHP Version: 5.2.5 OS: Fedora core 8
Roadmaps: (Not assigned)    
Subscription  


 [2009-04-27 17:00 UTC] jordic (jordi colelll)
Description: ------------ If I serialize <xml>test&</xml> ... after unserilize is, <xml>test</xml> Perhaps is a bug related to xml_parse, and the lib behind it in php5. My case: libxml2 Version 2.6.32 If I do it in my development machine, OSX. 10.5 with libXML Version 2.7.2 it works ok.

Comments

 [2009-04-27 18:21 UTC] jordic (jordi colelll)
I dont know if is a bug, because with some class settings, finally i make it work. Setting encode function in serialize "encodeFunction"=>'urlencode', and after to unserialize to decodeFunction=>urldecode, it works. Also, I have tried to set to serializer, XML_SERIALIZER_OPTION_ENTITIES to XML_SERIALIZER_ENTITIES_NONE, but it dosen't work, perhaps because I can tell to unserializer wich mode to use? I hope the info I post will be util to solve the problem, I don't studied the code in depth, but I think, it will be util, to specify, how the parser has to work in unserialize.
 [2009-05-23 23:12 UTC] doconnor (Daniel O'Connor)
Dupe of Bug #16154
 [2009-05-23 23:13 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Duplicate
Dupe of Bug #16153 even