Home » XML » XML_Tree
Represent XML data in a tree structure
This package is unmaintained.
Download latest release 2.0.0RC3 (archived versions might be outdated)
License: PHP License
Description
Allows for the building of XML data structures using a tree
representation, without the need for an extension like DOMXML.
Documentation
Maintainers
- Bernd Römer (bernd) — lead, active
- Tomas V.V.Cox (cox) — lead, active
- Davey Shafik (davey) — lead, active
Dependencies
Required
- PHP (>= 4.0.4)
- PEAR Installer (>= 1.4.0b1)
- XML_Parser (>= 1.1.0)
- pcre (extension)
- xml (extension)
Releases
- 2.0.0RC3 (beta, 2009-09-27)
Release notes
License: PHP License
QA Release
Redid package structure
Updated to package 2.0 - 2.0.0RC2 (beta, 2004-05-29)
Release notes
License: PHP License
Fixed XML_Tree::isValidName() when adding a CDATA childNode.
Dependencies like XML_DTD should now work again. - 2.0RC1 (beta, 2004-05-25)
Release notes
License: PHP License
*** Minor BC Breakages Have Occured ***
* Fixes all known bugs:
#89, #766, #905, #1125, #1253, #1414, #492, #555, #1238* Returns PEAR_Error objects if an invalid element/attribute name is given (BC Break)
* $object->error contains PEAR_Error if an error occurs, should be checked when creating the root element
* Added the ability to encapsulate all CDATA in <![CDATA[]]> Sections (see XML_Tree::useCdataSections()) or a specific
node's CDATA using the new argument to XML_Tree_Node::XML_Tree_Node() and XML_Tree_Node::addChild()) - 2.0b2 (beta, 2003-09-18)
Release notes
License: PHP
- Repaired 2 old method calls for add_root() and set_contents()
- Added getElementsByTagName() (by Pierre)
- Added a README.txt - 2.0b1 (beta, 2003-09-11)
- 1.1 (stable, 2002-05-17)
- 1.0 (stable, 2002-04-17)
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #22 | Closed | Bug | 2003-09-18 | Removing deprecated methods in 2.0b1 caused "Call to undefined function" errors | |
| #89 | Closed | Bug | 2003-10-12 | XML attribute names should not be treated as case-insensitive | |
| #120 | Bogus | Bug | 2003-10-18 | get segmentation fault | |
| #390 | Suspended | Bug | 2003-12-09 | patch: XML_Tree return by reference | |
| #492 | Closed | Bug | 2003-12-24 | character data content at the end of root element is ignored | |
| #555 | Closed | Bug | 2004-01-11 | getElementsByTagName uses non-existent property 'children' | |
| #597 | Suspended | Req | 2004-01-18 | Feature Request: External XML Entities properly parsed | |
| #766 | Closed | Bug | 2004-02-15 | parse error: use of 'clone' keyword as method name | |
| #905 | Closed | Bug | 2004-02-26 | PEAR QA: improvement for get_class()-usage | |
| #1125 | Closed | Bug | 2004-04-03 | Empty tag like <br /> is not possible | |
| #1238 | Closed | Bug | 2004-04-19 | Parsing files strips all new line characters | |
| #1253 | Closed | Bug | 2004-04-21 | Parse more than one string per instance | |
| #1414 | Closed | Bug | 2004-05-15 | XML_Tree::registerName() does nothing... | |
| #1415 | Closed | Bug | 2004-05-15 | Uber Patch (fixes #89, #766, #905, #1125, #1253, #1414, #492, #555, #1238) | |
| #1534 | Wont fix | Bug | 2004-06-01 | With new short tags, you doesn't change the line | |
| #1575 | Suspended | Bug | 2004-06-07 | extra whitespace entities break applications | |
| #1822 | Closed | Req | 2004-07-08 | Need charset parameter | |
| #1892 | Closed | Bug | 2004-07-16 | Parse error on PHP5.0.0 | |
| #2029 | Suspended | Bug | 2004-07-30 | encodeXml / decodeXmlEntities not reciprocals | |
| #2246 | Suspended | Bug | 2004-08-29 | XML_Tree::getTreeFromString() not documented | |
| #2315 | Suspended | Req | 2004-09-12 | Adding getNodesAt in XML_Tree_Node | |
| #2457 | Duplicate | Bug | 2004-10-05 | extra empty entries in root object tree | |
| #2653 | Wont fix | Bug | 2004-10-31 | XML_Tree still does not work with PHP5 | |
| #2968 | Suspended | Req | 2004-12-14 | patch: generalize options, use XML_Util | |
| #2977 | Suspended | Req | 2004-12-16 | Add possibility to give XML encoding as parameter. | |
| #3517 | Suspended | Bug | 2005-02-18 | getElement called without required parameter | |
| #3629 | Suspended | Bug | 2005-02-27 | CRITICAL: non-ISO-8859-1 characters in package.xml must be entitied | |
| #4251 | Bogus | Bug | 2005-04-30 | Using $this when not in object context | |
| #4937 | Suspended | Bug | 2005-07-28 | getTreeFromString doesn't encode quotes in attributes | |
| #4996 | Suspended | Req | 2005-08-04 | Adding support for switching off short tags | |
| #5061 | Bogus | Bug | 2005-08-10 | archive may be corrupted | |
| #5643 | Suspended | Bug | 2005-10-10 | encodeXmlEntities destroys data encoded in utf-8 | |
| #6506 | Wont fix | Bug | 2006-01-17 | Xml_tree php5 incompatible | |
| #6764 | Duplicate | Bug | 0.16.8 | 2006-02-12 | function named clone |
| #8235 | Suspended | Bug | 1.2.7 | 2006-07-17 | Value zero |