Viewing File: /usr/local/cpanel/3rdparty/php/83/lib/pear/XML_Parser.xml

<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.10.9" 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>no</active>
 </lead>
 <lead>
  <name>Chuck Burgess</name>
  <user>ashnazg</user>
  <email>ashnazg@php.net</email>
  <active>yes</active>
 </lead>
 <developer>
  <name>Stig S&amp;#230;ther Bakken</name>
  <user>ssb</user>
  <email>stig@php.net</email>
  <active>no</active>
 </developer>
 <developer>
  <name>Tomas V.V.Cox</name>
  <user>cox</user>
  <email>cox@php.net</email>
  <active>no</active>
 </developer>
 <date>2019-04-10</date>
 <time>18:18:52</time>
 <version>
  <release>1.3.8</release>
  <api>1.3.0</api>
 </version>
 <stability>
  <release>stable</release>
  <api>stable</api>
 </stability>
 <license>BSD License</license>
 <notes>
PR #5:  Don&apos;t use is_resource() for xml_parser resources
 </notes>
 <contents>
  <dir name="/">
   <file md5sum="95e84321c47342db12579c5565d3f35a" name="XML/Parser/Simple.php" role="php" />
   <file md5sum="a16a620afff1ce2ba3f1549a43f82206" name="XML/Parser.php" role="php" />
   <file md5sum="88f4675e960d07abb4b53406923fee90" name="examples/xml_parser_file.php" role="doc" />
   <file md5sum="48d354dd3d0ab55a4078ae5c3c1340ea" name="examples/xml_parser_file.xml" role="doc" />
   <file md5sum="9d16033d9d2f15df41a8f7208209deb1" name="examples/xml_parser_funcmode.php" role="doc" />
   <file md5sum="a92d873b15d5eb40ddad473b1df57fad" name="examples/xml_parser_handler.php" role="doc" />
   <file md5sum="ba9688ae6d062457d63447c6affe2f41" name="examples/xml_parser_simple1.php" role="doc" />
   <file md5sum="dbe5f93179371c10d02bbe94903636f6" name="examples/xml_parser_simple1.xml" role="doc" />
   <file md5sum="f9ab9099f1a8f34962d84cbf8d41a377" name="examples/xml_parser_simple2.php" role="doc" />
   <file md5sum="ad866824329ffbd32743a97b78405b40" name="examples/xml_parser_simple2.xml" role="doc" />
   <file md5sum="f9a6141c81d8042e05f7ac4e8e9aba3f" name="examples/xml_parser_simple_handler.php" role="doc" />
   <file md5sum="fb07bd3c002e99ab40e11ac8382b89ca" name="tests/001.phpt" role="test" />
   <file md5sum="d04a43387943da8532f8293616586612" name="tests/002.phpt" role="test" />
   <file md5sum="4c5aec0cce04b0d2ea6952c95af9d193" name="tests/003.phpt" role="test" />
   <file md5sum="034536524d8b092a05b0d6ab75ec229c" name="tests/004.phpt" role="test" />
   <file md5sum="ebe086722bb851fcb5fb2f307cc13c54" name="tests/004b.phpt" role="test" />
   <file md5sum="182ba13d4d4bce5e3312b62a687cc125" name="tests/005.phpt" role="test" />
   <file md5sum="e9a26f88c619c31f55a64441ee2dcd5e" name="tests/bug-9328.phpt" role="test" />
   <file md5sum="62bde75e14989e30e77360de43e974fa" name="tests/bug-9328b.phpt" role="test" />
   <file md5sum="8c1bd5513663389d1f621266d61383d5" name="tests/bug-9328c.phpt" role="test" />
   <file md5sum="09eca2dd1b5c6971272be85d751d8e9f" name="tests/bug-9328d.phpt" role="test" />
   <file md5sum="21dc5257d037acc919a99f6b861a80bf" name="tests/test2.xml" role="test" />
   <file md5sum="21dc5257d037acc919a99f6b861a80bf" name="tests/test3.xml" role="test" />
  </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>
  <release>
   <version>
    <release>1.2.8</release>
    <api>1.2.8</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2006-12-01</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
- fixed bug #5557: Raise a more useful error message when using invalid source encoding
- fixed bug #6078: func-mode does not handle all allowed letters in tags
   </notes>
  </release>
  <release>
   <version>
    <release>1.3.0a1</release>
    <api>1.3.0a1</api>
   </version>
   <stability>
    <release>alpha</release>
    <api>alpha</api>
   </stability>
   <date>2008-08-24</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
- switch to BSD License
- switch to package.xml v2
- PEAR CS cleanup
- Fix Doc #13120:  Mistake in example code
   </notes>
  </release>
  <release>
   <version>
    <release>1.3.0</release>
    <api>1.3.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2008-08-24</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
- switch to BSD License
- switch to package.xml v2
- PEAR CS cleanup
- Fix Doc #13120:  Mistake in example code
   </notes>
  </release>
  <release>
   <version>
    <release>1.3.1</release>
    <api>1.3.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2008-09-15</date>
   <license uri="http://www.example.com">BSD License</license>
   <notes>
- correct package.xml to reflect switch to BSD License
   </notes>
  </release>
  <release>
   <version>
    <release>1.3.2</release>
    <api>1.3.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2009-01-21</date>
   <license uri="http://www.example.com">BSD License</license>
   <notes>
- Fix Bug #9328: assigned by reference error in XML_RSS parse
- add an AllTests.php for PHPUnit usage
   </notes>
  </release>
  <release>
   <version>
    <release>1.3.3</release>
    <api>1.3.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2010-10-25</date>
   <license>BSD License</license>
   <notes>
Automatically built QA release
Bug #16467 Unit tests are broken - ashnazg

Bug #17725 Patch Avoid deprecated eregi functions - olleolleolle
   </notes>
  </release>
  <release>
   <version>
    <release>1.3.4</release>
    <api>1.3.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2010-10-26</date>
   <license>BSD License</license>
   <notes>
Remove package.php from release
   </notes>
  </release>
  <release>
   <version>
    <release>1.3.5</release>
    <api>1.3.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <license>BSD License</license>
   <date>2015-08-19</date>
   <notes>
Add composer compatibility
   </notes>
  </release>
  <release>
   <version>
    <release>1.3.6</release>
    <api>1.3.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <license>BSD License</license>
   <date>2015-08-26</date>
   <notes>
Fix broken package.xml
   </notes>
  </release>
  <release>
   <version>
    <release>1.3.7</release>
    <api>1.3.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <license>BSD License</license>
   <date>2016-07-04</date>
   <notes>
Fix E_STRICT message on PHP7
   </notes>
  </release>
  <release>
   <date>2019-04-10</date>
   <version>
    <release>1.3.8</release>
    <api>1.3.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <license>BSD License</license>
   <notes>
PR #5:  Don&apos;t use is_resource() for xml_parser resources
   </notes>
  </release>
 </changelog>
</package>
Back to Directory File Manager