Permalink
Browse files

Removed package.php

git-svn-id: https://svn.php.net/repository/pear/packages/XML_Parser/trunk@304865 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent b05ade8 commit d08954c3f2e79281f4b2c125f4d9a684b46de093 @CloCkWeRX CloCkWeRX committed Oct 25, 2010
Showing with 0 additions and 554 deletions.
  1. +0 −65 package.php
  2. +0 −489 package2.xml
View
65 package.php
@@ -1,65 +0,0 @@
-<?php
-
-require_once 'PEAR/PackageFileManager.php';
-
-$version = '1.3.2';
-$state = 'stable';
-
-$notes = <<<EOT
-- Fix Bug #9328: assigned by reference error in XML_RSS parse
-- add an AllTests.php for PHPUnit usage
-EOT;
-
-$description = <<<EOT
-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.
-EOT;
-
-$package = new PEAR_PackageFileManager();
-
-$result = $package->setOptions(array(
- 'package' => 'XML_Parser',
- 'summary' => 'XML parsing class based on PHP\'s bundled expat',
- 'description' => $description,
- 'version' => $version,
- 'state' => $state,
- 'license' => 'BSD License',
- 'filelistgenerator' => 'cvs',
- 'ignore' => array('package.php', 'package.xml', 'package2.xml'),
- 'notes' => $notes,
- 'simpleoutput' => true,
- 'baseinstalldir' => 'XML',
- 'packagedirectory' => './',
- 'dir_roles' => array('docs' => 'doc',
- 'examples' => 'doc',
- 'tests' => 'test',
- )
- ));
-
-if (PEAR::isError($result)) {
- echo $result->getMessage();
- die();
-}
-
-$package->addMaintainer('schst', 'lead', 'Stephan Schmidt', 'schst@php-tools.net');
-$package->addMaintainer('ssb', 'developer', 'Stig S&#230;ther Bakken', 'stig@php.net');
-$package->addMaintainer('cox', 'developer', 'Tomas V.V.Cox', 'cox@php.net');
-$package->addMaintainer('ashnazg', 'lead', 'Chuck Burgess', 'ashnazg@php.net');
-
-$package->addDependency('PEAR', '', 'has', 'pkg', false);
-$package->addDependency('php', '4.2.0', 'ge', 'php', false);
-
-if (isset($_GET['make']) || (isset($_SERVER['argv'][1]) && $_SERVER['argv'][1] == 'make')) {
- $result = $package->writePackageFile();
-} else {
- $result = $package->debugPackageFile();
-}
-
-if (PEAR::isError($result)) {
- echo $result->getMessage();
- die();
-}
-?>
View
489 package2.xml
@@ -1,489 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<package packagerversion="1.7.2" 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>2009-01-21</date>
- <time>18:50:00</time>
- <version>
- <release>1.3.2</release>
- <api>1.3.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license>BSD License</license>
- <notes>- Fix Bug #9328: assigned by reference error in XML_RSS parse
-- add an AllTests.php for PHPUnit usage
-
- </notes>
- <contents>
- <dir name="/">
- <dir name="examples">
- <file baseinstalldir="XML" name="xml_parser_file.php" role="doc" />
- <file baseinstalldir="XML" name="xml_parser_file.xml" role="doc" />
- <file baseinstalldir="XML" name="xml_parser_funcmode.php" role="doc" />
- <file baseinstalldir="XML" name="xml_parser_handler.php" role="doc" />
- <file baseinstalldir="XML" name="xml_parser_simple1.php" role="doc" />
- <file baseinstalldir="XML" name="xml_parser_simple1.xml" role="doc" />
- <file baseinstalldir="XML" name="xml_parser_simple2.php" role="doc" />
- <file baseinstalldir="XML" name="xml_parser_simple2.xml" role="doc" />
- <file baseinstalldir="XML" name="xml_parser_simple_handler.php" role="doc" />
- </dir> <!-- /examples -->
- <dir name="Parser">
- <file baseinstalldir="XML" name="Simple.php" role="php" />
- </dir> <!-- /Parser -->
- <dir name="tests">
- <file baseinstalldir="XML" name="001.phpt" role="test" />
- <file baseinstalldir="XML" name="002.phpt" role="test" />
- <file baseinstalldir="XML" name="003.phpt" role="test" />
- <file baseinstalldir="XML" name="004.phpt" role="test" />
- <file baseinstalldir="XML" name="004b.phpt" role="test" />
- <file baseinstalldir="XML" name="005.phpt" role="test" />
- <file baseinstalldir="XML" name="AllTests.php" role="test" />
- <file baseinstalldir="XML" name="bug-9328.phpt" role="test" />
- <file baseinstalldir="XML" name="bug-9328b.phpt" role="test" />
- <file baseinstalldir="XML" name="bug-9328c.phpt" role="test" />
- <file baseinstalldir="XML" name="bug-9328d.phpt" role="test" />
- <file baseinstalldir="XML" name="test2.xml" role="test" />
- <file baseinstalldir="XML" name="test3.xml" role="test" />
- </dir> <!-- /tests -->
- <file baseinstalldir="XML" 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>
- <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>
- </changelog>
-</package>

0 comments on commit d08954c

Please sign in to comment.