From:             erik at nordicaudi dot com
Operating system: 
PHP version:      5.0.0
PHP Bug Type:     Documentation problem
Bug description:  DOMElement->getElementsByTagName ( string name)

Description:
------------
Published version (16-08-2004), VI. Function Reference, XXIV. DOM
Functions

object DOMElement->getElementsByTagName ( string name)

This function returns a new instance of class DOMNodeList containing the
elements with tagnames matching the name parameter. Use "*" for the name
to return all elements within the document.

--------------------------

Maybee its more correct to describe the function as follows:

"Returns a a new instance of class DOMNodeList of all descendant elements
with a given tag name, in the order in which they are encountered in a
preorder traversal of this element tree.
Use "*" for the name to return all elements within this element tree."

W3C description is as follows:

"Returns a NodeList of all descendant Elements with a given tag name, in
the order in which they are encountered in a preorder traversal of this
Element tree."


-- 
Edit bug report at http://bugs.php.net/?id=29817&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=29817&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29817&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29817&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=29817&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=29817&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=29817&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=29817&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=29817&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=29817&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=29817&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=29817&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=29817&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=29817&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=29817&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=29817&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=29817&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=29817&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=29817&r=float

Reply via email to