<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.4.0" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
 <name>XML_Parser</name>
 <channel>pear.php.net</channel>
 <summary>XML parsing class based on PHP&apos;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&apos;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.</description>
 <lead>
  <name>Stephan Schmidt</name>
  <user>schst</user>
  <email>schst@php-tools.net</email>
  <active>yes</active>
 </lead>
 <developer>
  <name>Stig S&amp;#230;ther Bakken</name>
  <user>ssb</user>
  <email>stig@php.net</email>
  <active>yes</active>
 </developer>
 <developer>
  <name>Tomas V.V.Cox</name>
  <user>cox</user>
  <email>cox@php.net</email>
  <active>yes</active>
 </developer>
 <date>2005-09-24</date>
 <time>17:09:53</time>
 <version>
  <release>1.2.7</release>
  <api>1.2.7</api>
 </version>
 <stability>
  <release>stable</release>
  <api>stable</api>
 </stability>
 <license uri="http://www.php.net/license">PHP License</license>
 <notes>- implemented request #4774: Error message contains column number</notes>
 <contents>
  <dir name="/">
   <file baseinstalldir="XML" md5sum="88f4675e960d07abb4b53406923fee90" name="examples/xml_parser_file.php" role="doc" />
   <file baseinstalldir="XML" md5sum="48d354dd3d0ab55a4078ae5c3c1340ea" name="examples/xml_parser_file.xml" role="doc" />
   <file baseinstalldir="XML" md5sum="a92d873b15d5eb40ddad473b1df57fad" name="examples/xml_parser_handler.php" role="doc" />
   <file baseinstalldir="XML" md5sum="1b23abc1a80fa1dd9c9b676dafa552be" name="examples/xml_parser_simple1.php" role="doc" />
   <file baseinstalldir="XML" md5sum="db308d89b93c02b1b29009d0d048de9b" name="examples/xml_parser_simple1.xml" role="doc" />
   <file baseinstalldir="XML" md5sum="9e30736b3d8e5724e925a833587f8b42" name="examples/xml_parser_simple2.php" role="doc" />
   <file baseinstalldir="XML" md5sum="b8377caaeb5f5447aaf46f6f5795680e" name="examples/xml_parser_simple2.xml" role="doc" />
   <file baseinstalldir="XML" md5sum="e598a4f57cc98f11e2ca80b4bac9efab" name="examples/xml_parser_simple_handler.php" role="doc" />
   <file baseinstalldir="XML" md5sum="8d7816c86586d878e7d571598b724099" name="Parser/Simple.php" role="php" />
   <file baseinstalldir="XML" md5sum="76b9413c5cdd76dd0f4ab003c481d478" name="tests/001.phpt" role="test" />
   <file baseinstalldir="XML" md5sum="d0ef636f4373fb0696494472c89f0539" name="tests/002.phpt" role="test" />
   <file baseinstalldir="XML" md5sum="5c370ff01473a515237a59ba7a6f923d" name="tests/003.phpt" role="test" />
   <file baseinstalldir="XML" md5sum="b02a78482176a5f3469797fcb10e08ad" name="tests/004.phpt" role="test" />
   <file baseinstalldir="XML" md5sum="5bfc555844c3679f163f6becf5dea819" name="tests/005.phpt" role="test" />
   <file baseinstalldir="XML" md5sum="21dc5257d037acc919a99f6b861a80bf" name="tests/test2.xml" role="test" />
   <file baseinstalldir="XML" md5sum="21dc5257d037acc919a99f6b861a80bf" name="tests/test3.xml" role="test" />
   <file baseinstalldir="XML" md5sum="8f405f37dbbde12dd35442926b2732c7" name="Parser.php" role="php" />
  </dir>
 </contents>
 <dependencies>
  <required>
   <php>
    <min>4.2.0</min>
   </php>
   <pearinstaller>
    <min>1.4.0b1</min>
   </pearinstaller>
   <package>
    <name>PEAR</name>
    <channel>pear.php.net</channel>
   </package>
  </required>
 </dependencies>
 <phprelease />
 <changelog>
  <release>
   <version>
    <release>1.1.0beta1</release>
    <api>1.1.0beta1</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2004-04-16</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <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>
    <release>1.1.0beta2</release>
    <api>1.1.0beta2</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2004-04-18</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <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>
    <release>1.1.0</release>
    <api>1.1.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2004-04-23</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <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>
    <release>1.2.0beta1</release>
    <api>1.2.0beta1</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2004-05-17</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <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>
    <release>1.2.0beta2</release>
    <api>1.2.0beta2</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2004-05-24</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>XML_Parser:
- fixed bug with setMode()
- moved the init routines for the handlers in _initHandlers()
XML_Parser_Simple:
- fixed bug with character data (did not get parsed)
- fixed bug with setMode()
- some refactoring
- added getCurrentDepth() to retrieve the tag depth
- added addToData()
- added new example</notes>
  </release>
  <release>
   <version>
    <release>1.2.0beta3</release>
    <api>1.2.0beta3</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2004-05-25</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- added setHandlerObj() which allows you to have the parser separate from the handler methods</notes>
  </release>
  <release>
   <version>
    <release>1.2.0</release>
    <api>1.2.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2004-05-28</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- added setHandlerObj() which allows you to have the parser separate from the handler methods
- fixed bug with setMode()
- moved the init routines for the handlers in _initHandlers()
- added new examples
- fixed test files so they do not fail because of different resource ids
XML_Parser_Simple:
- 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>
    <release>1.2.1</release>
    <api>1.2.1</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2004-10-04</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>fixed bug #2442: Call to &quot;xmltag_ELEMENT_&quot; not correctly managed in function funcEndHandler</notes>
  </release>
  <release>
   <version>
    <release>1.2.2beta1</release>
    <api>1.2.2beta1</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2004-12-22</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- fixed small notice in XML_Parser::free(),
- fixed Bug #2939: bug in error routine leads to segmentation fault (raiseError does not free the internal resources anymore)</notes>
  </release>
  <release>
   <version>
    <release>1.2.2</release>
    <api>1.2.2</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2004-12-22</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- fixed small notice in XML_Parser::free(),
- fixed Bug #2939: bug in error routine leads to segmentation fault (raiseError does not free the internal resources anymore)</notes>
  </release>
  <release>
   <version>
    <release>1.2.3</release>
    <api>1.2.3</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2005-01-17</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- fixed a bug that occured when using &apos;func&apos; mode and setHandlerObj() (schst)
- added default handlers for &apos;func&apos; mode (schst)</notes>
  </release>
  <release>
   <version>
    <release>1.2.4</release>
    <api>1.2.4</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2005-01-18</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- fixed a bug in XML_Parser_Simple when trying to register more than the default handlers and a separate callback object (schst)</notes>
  </release>
  <release>
   <version>
    <release>1.2.5</release>
    <api>1.2.5</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2005-02-26</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- fixed Bug #3557 (removed $attribs parameter, which caused a notice)
- fixed Bug #3277 (remove obsolete ini_set(&apos;allow_url_fopen&apos;))</notes>
  </release>
  <release>
   <version>
    <release>1.2.6</release>
    <api>1.2.6</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2005-03-25</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- fixed Bug #3949: reset does not return true on success as the documentation states
- implement Request #3905: replace &quot;.&quot; with &quot;_&quot; in tagnames when using func mode</notes>
  </release>
  <release>
   <version>
    <release>1.2.7</release>
    <api>1.2.7</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2005-09-24</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- implemented request #4774: Error message contains column number</notes>
  </release>
 </changelog>
</package>
