Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

QA: release new version 1.2.4 to fix E_NOTICE

convert to package.xml v2


git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@240726 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
commit 63eaedec7bd5ce4b0bdd1cb1f55dbf9ea6459cc7 1 parent dbd2091
@cweiske cweiske authored
Showing with 163 additions and 107 deletions.
  1. +163 −107 package.xml
View
270 package.xml
@@ -1,112 +1,168 @@
-<?xml version="1.0" encoding="ISO-8859-1" ?>
-<!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0">
-<package version="1.0" type="source">
- <name>XML_XPath</name>
- <summary>The PEAR::XML_XPath class provided an XPath/DOM XML manipulation, maneuvering and query interface.</summary>
- <description>
- The PEAR::XML_XPath class provided an XPath/DOM XML manipulation, maneuvering and
- query interface.
+<?xml version="1.0" encoding="UTF-8"?>
+<package packagerversion="1.6.1" 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_XPath</name>
+ <channel>pear.php.net</channel>
+ <summary>The PEAR::XML_XPath class provided an XPath/DOM XML manipulation, maneuvering and query interface.</summary>
+ <description>The PEAR::XML_XPath class provided an XPath/DOM XML manipulation, maneuvering and
+query interface.
+The class allows for easy manipulation, maneuvering and querying of a domxml tree using
+both xpath queries and DOM walk functions. It uses an internal pointer for all
+methods on which the action is performed. Results from an dom/xpath query are returned
+as an XPath_Result object, which contains an internal array of DOM nodes and which extends
+the common DOM class and hence contains all the DOM functions from the main object to run
+on each of the elements in the internal array. This class tries to hold as close as possible to the DOM Recommendation. You MUST have the domxml extension to use this class.
+The XML_XPath class was inspired by a class maintained by Nigel Swinson called phpxpath.
+The phpxpath class does not rely on PHP xmldom functions and is therefore a sibling to
+this class: http://sourceforge.net/projects/phpxpath
+ </description>
+ <lead>
+ <name>Dan Allen</name>
+ <user>dallen</user>
+ <email>dallen@php.net</email>
+ <active>yes</active>
+ </lead>
+ <date>2007-08-04</date>
+ <time>22:25:02</time>
+ <version>
+ <release>1.2.4</release>
+ <api>1.2.4</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <license uri="http://www.php.net/license">PHP License</license>
+ <notes>
+ QA release: Fix E_NOTICE when returning result in evaluate()
+ </notes>
+ <contents>
+ <dir name="/">
+ <dir name="docs">
+ <file baseinstalldir="XML" name="XML_XPath_example.php" role="doc" />
+ </dir> <!-- /docs -->
+ <dir name="XPath">
+ <file baseinstalldir="XML" name="common.php" role="php" />
+ <file baseinstalldir="XML" name="error.php" role="php" />
+ <file baseinstalldir="XML" name="result.php" role="php" />
+ </dir> <!-- /XPath -->
+ <file baseinstalldir="XML" name="XPath.php" role="php" />
+ </dir> <!-- / -->
+ </contents>
+ <dependencies>
+ <required>
+ <php>
+ <min>4.2.1</min>
+ <max>5.0.0</max>
+ <exclude>5.0.0</exclude>
+ </php>
+ <pearinstaller>
+ <min>1.4.0b1</min>
+ </pearinstaller>
+ <extension>
+ <name>domxml</name>
+ </extension>
+ </required>
+ </dependencies>
+ <phprelease />
+ <changelog>
- The class allows for easy manipulation, maneuvering and querying of a domxml tree using
- both xpath queries and DOM walk functions. It uses an internal pointer for all
- methods on which the action is performed. Results from an dom/xpath query are returned
- as an XPath_Result object, which contains an internal array of DOM nodes and which extends
- the common DOM class and hence contains all the DOM functions from the main object to run
- on each of the elements in the internal array. This class tries to hold as close as possible to the DOM Recommendation. You MUST have the domxml extension to use this class.
+ <release>
+ <version>
+ <release>1.2.3</release>
+ <api>1.2.3</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <date>2005-10-18</date>
+ <license uri="http://www.php.net/license">PHP License</license>
+ <notes>There is now a dependency on PHP4 since PHP5 has out-of-the-box for XPath in both DOM and SimpleXML.
+ </notes>
+ </release>
+
+ <release>
+ <version>
+ <release>1.2.1</release>
+ <api>1.2.1</api>
+ </version>
+ <stability>
+ <release>devel</release>
+ <api>devel</api>
+ </stability>
+ <date>2005-10-12</date>
+ <license uri="http://www.php.net/license">PHP License</license>
+ <notes>* fixed a long standing bug where the get_class() failed due to a case problem, causing all load() operations to fail in newer releases of PHP
+* changed state to devel
+
+ </notes>
+ </release>
+ <release>
+ <version>
+ <release>1.2</release>
+ <api>1.2</api>
+ </version>
+ <stability>
+ <release>beta</release>
+ <api>beta</api>
+ </stability>
+ <date>2002-06-07</date>
+ <license uri="http://www.php.net/license">PHP License</license>
+ <notes>* Very important to note that the DOM step functions do not take an optional xpath query. The
+reason I designed it this way is because the outcome would be too difficult to deal with, since
+one of 4 different scenarios could take place. Plus, it just doesn&apos;t make any sense.
+* Significant speed enhancements (almost 100% faster)
+Major changes:
+* getAttribute(&apos;foo&apos;, true) now puts you on the attribute, not the element node
+* cleaned up the XML_XPath_result initialization (no longer create an StdClass when calling class)
+* fixed sorting for childNodes() and getElementsByTagName() generated result objects
+* cleaned up sorting in result object, and added comments (so I don&apos;t forget again how I did it)
+* major speed enhancements (calling user defined functions methods is slow, so tried to trim that down)
+* don&apos;t create a result object in the _quick_evaluate function since we don&apos;t need it anyway
+* enabled relative xpath queries differently, in_xpathQuery = array(query, node) for relative...
+* added relative xpath queries for the _quick_evaluate feature
+ </notes>
+ </release>
+ <release>
+ <version>
+ <release>1.1</release>
+ <api>1.1</api>
+ </version>
+ <stability>
+ <release>beta</release>
+ <api>beta</api>
+ </stability>
+ <date>2002-06-06</date>
+ <license uri="http://www.php.net/license">PHP License</license>
+ <notes>This version brings major enhancements to the API
+* childNode(), siblingNode() removed and features are relocated
+* added childNodes() which returns an XML_XPath_result object of all children
+* added getElementByTagName which returns an XML_XPath_result object of all matching tags
+* step functions in result object are now next(), end(), rewind() and nextByNode(Name|Type)
+* calling next() after rewind() in the result object counts the first object again, so a regular
+ while loop can be used
+* relative XPath queries are now enabled (getNodePath() provides this functionality)
+* better error reports generated and will continue to improve with the domxml extension
+* setNodeIndex() in result object removed
- The XML_XPath class was inspired by a class maintained by Nigel Swinson called phpxpath.
- The phpxpath class does not rely on PHP xmldom functions and is therefore a sibling to
- this class: http://sourceforge.net/projects/phpxpath
- </description>
- <maintainers>
- <maintainer>
- <user>dallen</user>
- <name>Dan Allen</name>
- <email>dallen@php.net</email>
- <role>lead</role>
- </maintainer>
- </maintainers>
+ </notes>
+ </release>
<release>
- <license>PHP License</license>
- <date>2005-10-18</date>
- <state>stable</state>
- <version>1.2.3</version>
- <deps>
- <dep type="php" rel="ge" version="4.2.1" />
- <dep type="php" rel="lt" version="5.0.0" />
- <dep type="ext" rel="has">domxml</dep>
- </deps>
- <notes>
- There is now a dependency on PHP4 since PHP5 has out-of-the-box for XPath in both DOM and SimpleXML.
- </notes>
- <filelist>
- <dir name="/" baseinstalldir="XML">
- <file role="php">XPath.php</file>
- <dir name="XPath">
- <file role="php">common.php</file>
- <file role="php">result.php</file>
- <file role="php">error.php</file>
- </dir>
- <dir name="docs" role="doc">
- <file>XML_XPath_example.php</file>
- </dir>
- </dir>
- </filelist>
+ <version>
+ <release>1.0</release>
+ <api>1.0</api>
+ </version>
+ <stability>
+ <release>beta</release>
+ <api>beta</api>
+ </stability>
+ <date>2002-05-23</date>
+ <license uri="http://www.php.net/license">PHP License</license>
+ <notes>This is the initial independent PEAR release.
+ </notes>
</release>
- <changelog>
- <release>
- <date>2005-10-12</date>
- <state>devel</state>
- <version>1.2.1</version>
- <notes>
- * fixed a long standing bug where the get_class() failed due to a case problem, causing all load() operations to fail in newer releases of PHP
- * changed state to devel
- </notes>
- </release>
- <release>
- <version>1.2</version>
- <date>2002-06-07</date>
- <state>beta</state>
- <notes>
- * Very important to note that the DOM step functions do not take an optional xpath query. The
- reason I designed it this way is because the outcome would be too difficult to deal with, since
- one of 4 different scenarios could take place. Plus, it just doesn't make any sense.
- * Significant speed enhancements (almost 100% faster)
- Major changes:
- * getAttribute('foo', true) now puts you on the attribute, not the element node
- * cleaned up the XML_XPath_result initialization (no longer create an StdClass when calling class)
- * fixed sorting for childNodes() and getElementsByTagName() generated result objects
- * cleaned up sorting in result object, and added comments (so I don't forget again how I did it)
- * major speed enhancements (calling user defined functions methods is slow, so tried to trim that down)
- * don't create a result object in the _quick_evaluate function since we don't need it anyway
- * enabled relative xpath queries differently, in_xpathQuery = array(query, node) for relative...
- * added relative xpath queries for the _quick_evaluate feature
- </notes>
- </release>
- <release>
- <version>1.1</version>
- <date>2002-06-06</date>
- <state>beta</state>
- <notes>
- This version brings major enhancements to the API
- * childNode(), siblingNode() removed and features are relocated
- * added childNodes() which returns an XML_XPath_result object of all children
- * added getElementByTagName which returns an XML_XPath_result object of all matching tags
- * step functions in result object are now next(), end(), rewind() and nextByNode(Name|Type)
- * calling next() after rewind() in the result object counts the first object again, so a regular
- while loop can be used
- * relative XPath queries are now enabled (getNodePath() provides this functionality)
- * better error reports generated and will continue to improve with the domxml extension
- * setNodeIndex() in result object removed
- </notes>
- </release>
- <release>
- <version>1.0</version>
- <date>2002-05-23</date>
- <state>beta</state>
- <notes>
- This is the initial independent PEAR release.
- </notes>
- </release>
- </changelog>
+ </changelog>
</package>
Please sign in to comment.
Something went wrong with that request. Please try again.