#27232 [NEW]: comment nodes are being skipped
| From: | lalo at teligens dot com | Date: | Thu, 12 Feb 2004 23:57:08 +0000 |
| Subject: | #27232 [NEW]: comment nodes are being skipped | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-54821@lists.php.net to get a copy of this message | ||
From: lalo at teligens dot com
Operating system: Windows XP
PHP version: 4.3.4
PHP Bug Type: DOM XML related
Bug description: comment nodes are being skipped
Description:
------------
Comments nodes are being skipped.
Reproduce code:
---------------
$doc = domxml_open_file($path . '/conf.xml');
// first node should be a comment, but it's not
$node = $doc->first_child();
Expected result:
----------------
the type of the first node should be XML_COMMENT_NODE
Actual result:
--------------
The type of the first node is a node.
--
Edit bug report at http://bugs.php.net/?id=27232&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27232&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27232&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27232&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27232&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27232&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27232&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27232&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27232&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27232&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27232&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27232&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27232&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27232&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27232&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27232&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27232&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27232&r=float