Federico Gimenez Nieto wrote:
> 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

Hi,

I simply have a cron job that does:

require_once 'XML/Serializer.php';
require_once "XML/Unserializer.php";

it doesn't even need to call any of the methods of Unserializer.php.
When there's a:

$myvar =& new [.......]

PHP 5.3.x generates a warning even before you start using the file. It
does it at parsing time. Just try by yourself in Squeeze / SID, or with
any system that is running PHP 5.3, then you'll see it.

Can you get in touch with upstream and have them fix it? Will you need
sponsoring for this issue, once the package is fixed? Let me know, I'll
be available for such help.

Thomas Goirand (zigo)



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to