Skip to content
Browse files

release 1.2 notes

git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@85013 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent 6864f59 commit c288feb1a8fc55baad1b20cdcb0077f63f3bebeb Daniel Allen committed Jun 7, 2002
Showing with 36 additions and 6 deletions.
  1. +36 −6 package.xml
View
42 package.xml
@@ -28,17 +28,27 @@
</maintainers>
<release>
<license>PHP License</license>
- <date>2002-05-23</date>
+ <date>2002-06-07</date>
<state>beta</state>
- <version>1.1</version>
+ <version>1.2</version>
<deps>
<dep type="php" rel="ge" version="4.2.1" />
<dep type="ext" rel="has">domxml</dep>
</deps>
<notes>
- * relative XPath queries
- * enhancements to result object
- * addition DOM functions (childNodes(), getElementsByTagName())
+ * 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>
<filelist>
<dir name="/" baseinstalldir="XML">
@@ -68,7 +78,7 @@
<date>2002-06-06</date>
<state>beta</state>
<notes>
- This version brings major enhancements to the API
+ 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
@@ -80,5 +90,25 @@
* setNodeIndex() in result object removed
</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>
</changelog>
</package>

0 comments on commit c288feb

Please sign in to comment.
Something went wrong with that request. Please try again.