|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: peter dot bilik at nspto dot sk
New email:
PHP Version: OS:


 [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: Tue Feb 27 20:01:30 2024 UTC