Home » XML » XML_Parser2
XML parsing class based on PHP's bundled expat
This package is unmaintained.
Download latest release 0.1.0 (archived versions might be outdated)
License: BSD License
Description
This is an XML parser based on PHPs built-in xml extension.
It supports two basic modes of operation: "func" and "event". In "func" mode, it will look for a function named after each element (xmltag_ELEMENT for start tags and xmltag_ELEMENT_ for end tags), and in "event" mode it uses a set of generic callbacks.
Since version 1.2.0 there's a new XML_Parser_Simple class that makes parsing of most XML documents easier, by automatically providing a stack for the elements.
Furthermore its now possible to split the parser from the handler object, so you do not have to extend XML_Parser anymore in order to parse a document with it.
Maintainers
- Stephan Schmidt (schst) — lead, inactive
- Chuck Burgess (ashnazg) — lead, active
- Stig Sæther Bakken (ssb) — developer, inactive
- Tomas V.V.Cox (cox) — developer, inactive
Dependencies
Required
- PHP (>= 5.0.0)
- PEAR Installer (>= 1.4.0b1)
- PEAR
Releases
- 0.1.0 (beta, 2012-03-31)
Release notes
License: BSD License
Drop PHP4
Introduce exceptions
Drop PEAR dependency
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #16567 | Closed | Bug | 2009-09-02 | Deprecated: Assigning the return value & Deprecated: Function eregi() | |
| #19325 | Closed | Bug | 2012-03-09 | Constructor defined twice | |
| #19326 | Closed | Bug | 2012-03-09 | raiseError issue |