|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19667 xml-tree
Submitted: 2002-09-30 03:02 UTC Modified: 2003-04-02 10:56 UTC
Avg. Score:4.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: peter dot bilik at nspto dot sk Assigned:
Status: No Feedback Package: PEAR related
PHP Version: 4.2.2 OS: LINUX
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-09-30 03:02 UTC] peter dot bilik at nspto dot sk
I have sample xml file: test.xml
<?xml version="1.0" ?>

I have used XML/Tree.php to parse XML tree to string.

$tree = new XML_Tree("test.xml");
$t = &$tree->getTreeFromFile();

After parsing test.xml, element width content '0' are empty!
This is problem, I need value '0'.

Thank you for help


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-28 23:29 UTC] jon at jellybob dot co dot uk
Looks like values need converting to strings before being output to the xml tree... I'd fix it tonight, but I'm afraid sleep comes first.
 [2003-03-27 06:46 UTC]
There has been a fix concerning this issue some time ago. Could you please check the latest CVS version from and see if it works?
 [2003-04-02 10:56 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 14 17:01:28 2024 UTC