Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

157 lines (151 sloc) 6.715 kb
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0">
<package version="1.0">
<name>XML_Parser</name>
<summary>XML parsing class based on PHP's bundled expat</summary>
<description>This is an XML parser based on PHPs built-in xml extension.
It supports two basic modes of operation: &quot;func&quot; and &quot;event&quot;. In &quot;func&quot; mode, it will look for a function named after each element (xmltag_ELEMENT for start tags and xmltag_ELEMENT_ for end tags), and in &quot;event&quot; 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.</description>
<maintainers>
<maintainer>
<user>schst</user>
<name>Stephan Schmidt</name>
<email>schst@php-tools.net</email>
<role>lead</role>
</maintainer>
<maintainer>
<user>ssb</user>
<name>Stig Sæther Bakken</name>
<email>stig@php.net</email>
<role>developer</role>
</maintainer>
<maintainer>
<user>cox</user>
<name>Tomas V.V.Cox</name>
<email>cox@php.net</email>
<role>developer</role>
</maintainer>
</maintainers>
<release>
<version>1.2.0beta1</version>
<date>2004-05-17</date>
<license>PHP License</license>
<state>beta</state>
<notes>added new class XML_Parser_Simple that provides a stack for the elements so the user only needs to implement one method to handle the tag and cdata.</notes>
<deps>
<dep type="php" rel="ge" version="4.2.0" optional="no"/>
<dep type="pkg" rel="has" optional="no">PEAR</dep>
</deps>
<filelist>
<dir baseinstalldir="XML" name="/">
<dir name="examples">
<file role="doc" name="xml_parser_file.php"/>
<file role="doc" name="xml_parser_file.xml"/>
<file role="doc" name="xml_parser_simple1.php"/>
<file role="doc" name="xml_parser_simple1.xml"/>
</dir> <!-- examples -->
<dir name="Parser">
<file role="php" name="Simple.php"/>
</dir> <!-- Parser -->
<dir name="tests">
<file role="test" name="001.phpt"/>
<file role="test" name="002.phpt"/>
<file role="test" name="003.phpt"/>
<file role="test" name="004.phpt"/>
<file role="test" name="005.phpt"/>
<file role="test" name="test2.xml"/>
<file role="test" name="test3.xml"/>
</dir> <!-- tests -->
<file role="php" name="Parser.php"/>
</dir> <!-- / -->
</filelist>
</release>
<changelog>
<release>
<version>1.1.0beta1</version>
<date>2004-04-16</date>
<license>PHP License</license>
<state>beta</state>
<notes>- Fixed memory leaks parsing many documents or big files (mroch)
- Fixed setInput() url detection regex (mroch)
- Added setInputString() method, allowing strings to be passed as input (schst)
- Error handling rewritten (cox)
- Increased the overall parsing speed (cox)
- Added free() method (schst
- Added reset() method, that is called when parsing a document so it is possible to parse more than one document per instance (schst)
- Added error codes (schst)
- revamped documentation (cox, schst)
- Fixed bug #516 (url fopen and safe mode) (schst)
- Fixed bug #637 (dependency on PEAR) (schst)
- improved parse() and parseString() to be able to parse more than one document (schst)
- added PHP5 constructor (schst)
- moved xml_parser_create() to _create() for PHP5 compatibility (schst)
- added dependency on PHP 4.2
Thanks to Marshall Roch for commments and contributions and Tomas V.V. Cox
for applying a lot of fixes and improvements.</notes>
</release>
<release>
<version>1.1.0beta2</version>
<date>2004-04-18</date>
<license>PHP License</license>
<state>beta</state>
<notes>beta2:
- Fixed calling of __construct
beta1:
- Fixed memory leaks parsing many documents or big files (mroch)
- Fixed setInput() url detection regex (mroch)
- Added setInputString() method, allowing strings to be passed as input (schst)
- Error handling rewritten (cox)
- Increased the overall parsing speed (cox)
- Added free() method (schst
- Added reset() method, that is called when parsing a document so it is possible to parse more than one document per instance (schst)
- Added error codes (schst)
- revamped documentation (cox, schst)
- Fixed bug #516 (url fopen and safe mode) (schst)
- Fixed bug #637 (dependency on PEAR) (schst)
- improved parse() and parseString() to be able to parse more than one document (schst)
- added PHP5 constructor (schst)
- moved xml_parser_create() to _create() for PHP5 compatibility (schst)
- added dependency on PHP 4.2
Thanks to Marshall Roch for commments and contributions and Tomas V.V. Cox
for applying a lot of fixes and improvements.</notes>
</release>
<release>
<version>1.1.0</version>
<date>2004-04-23</date>
<license>PHP License</license>
<state>stable</state>
<notes>- Fixed memory leaks parsing many documents or big files (mroch)
- Fixed setInput() url detection regex (mroch)
- Added setInputString() method, allowing strings to be passed as input (schst)
- Error handling rewritten (cox)
- Increased the overall parsing speed (cox)
- Added free() method (schst
- Added reset() method, that is called when parsing a document so it is possible to parse more than one document per instance (schst)
- Added error codes (schst)
- revamped documentation (cox, schst)
- Fixed bug #516 (url fopen and safe mode) (schst)
- Fixed bug #637 (dependency on PEAR) (schst)
- improved parse() and parseString() to be able to parse more than one document (schst)
- added PHP5 constructor (schst)
- moved xml_parser_create() to _create() for PHP5 compatibility (schst)
- added dependency on PHP 4.2
Thanks to Marshall Roch for commments and contributions and Tomas V.V. Cox
for applying a lot of fixes and improvements.</notes>
</release>
<release>
<version>1.2.0beta1</version>
<date>2004-05-17</date>
<license>PHP License</license>
<state>beta</state>
<notes>added new class XML_Parser_Simple that provides a stack for the elements so the user only needs to implement one method to handle the tag and cdata.</notes>
</release>
<release>
<version>1.2.0</version>
<date>2004-05-17</date>
<license>PHP License</license>
<state>beta</state>
<notes>added new class XML_Parser_Simple that provides a stack for the elements so the user only needs to implement one method to handle the tag and cdata.</notes>
</release>
</changelog>
</package>
Jump to Line
Something went wrong with that request. Please try again.