Hi Thomas, thanks for the bug report. Could you please explain a bit more about the conditions in which the warnings raised? I have been trying the examples of XML generation at [1] and all of them worked without problems and without noticing any warning.
[1] http://pear.php.net/manual/en/package.xml.xml-serializer.intro.php As you point out, php-xml-serializer can be used to produce a xml document, this is done with the 'serialize' method. If any text is thrown while outputing the xml document the package would be certainly unusable for most users, because the generated document could be at least not well formed. But the warnings that you found are refering to code in the Unserialize.php file, how are you getting them? Cheers, Federico Thomas Goirand wrote: > Package: php-xml-serializer > Version: 0.20.0-2 > Severity: grave > > Hi, > > When using the package with PHP 5.3.2 that is currently in Squeeze and > SID, there are 3 big warnings: > > PHP Deprecated: Assigning the return value of new by reference is > deprecated in /usr/share/php/XML/Unserializer.php on line 801 > > PHP Deprecated: Assigning the return value of new by reference is > deprecated in /usr/share/php/XML/Unserializer.php on line 804 > > PHP Deprecated: Assigning the return value of new by reference is > deprecated in /usr/share/php/XML/Unserializer.php on line 974 > > As php-xml-serializer can be used to produce an XML document, having > these warnings could render the produced XML documents as totally broken, > which is what pushed me to set the seriousness of this bug to Grave (eg: > renders the package unusable for most users). This has to be fixed before > Squeeze is release. I'll try to work on a patch for it, but if you have > more work time available than I do, please fix the package. > > Cheers, > > Thomas Goirand (zigo) > > -- System Information: > Debian Release: 5.0.5 > APT prefers stable > APT policy: (500, 'stable') > Architecture: amd64 (x86_64) > > Kernel: Linux 2.6.32-4-xen-amd64 (SMP w/2 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/bash > > > -- Federico Giménez Nieto fgime...@coit.es
signature.asc
Description: OpenPGP digital signature