#46136 [NEW]: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID xxx already defined
| From: | mathieu dot lagana at gmail dot com | Date: | Sat, 20 Sep 2008 11:41:25 +0000 |
| Subject: | #46136 [NEW]: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID xxx already defined | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-129125@lists.php.net to get a copy of this message | ||
From: mathieu dot lagana at gmail dot com
Operating system: windows
PHP version: 5.2.6
PHP Bug Type: DOM XML related
Bug description: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID xxx already defined
Description:
------------
Set warning on anchor id
DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID xxx already
defined in http://www.w3.org, line: 428
Reproduce code:
---------------
<?php
$dom=new DOMDocument();
$dom->loadHTMLFile("http://www.w3.org");
//idem for loadHTML()
Expected result:
----------------
nothhing
Actual result:
--------------
DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID technologies
already defined in http://www.w3.org, line: 94
DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID news already
defined in http://www.w3.org, line: 264
DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID search already
defined in http://www.w3.org, line: 315
DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID contents
already defined in http://www.w3.org, line: 332
DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID Offices already
defined in http://www.w3.org, line: 428
DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID systems already
defined in http://www.w3.org, line: 482
DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID donors already
defined in http://www.w3.org, line: 493
DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID footnotes
already defined in http://www.w3.org, line: 496
--
Edit bug report at http://bugs.php.net/?id=46136&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46136&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46136&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46136&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46136&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=46136&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46136&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46136&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46136&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46136&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46136&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=46136&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=46136&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46136&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46136&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46136&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46136&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46136&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46136&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46136&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46136&r=mysqlcfg