Test: /ext/dom/tests/bug47849.phpt - Version 7.1.1-dev        

Bug #47849 Non-deep import loses the namespace
Submitted: 2009-03-31 11:48:32 Modified: 2009-04-07 15:36:25
From: robin2008 Assigned:
Status: Closed Package: DOM XML related
PHP Version: 5.2.9 OS: Ubuntu

There is 1 diff reported by users for this test.

Count Diff
4 (100%)
001+ Notice: Undefined property: DOMDocument::$documentElement in %s/bug47849.php on line 9
002+
001- <?xml version="1.0"?>
002- <r:root xmlns:r="urn::root"><data xmlns="urn::data"/></r:root>
003+ Notice: Undefined property: DOMDocument::$documentElement in %s/bug47849.php on line 10
004+
005+ Fatal error: Uncaught Error: Call to a member function appendChild() on null in %s/bug47849.php:10
006+ Stack trace:
007+ #0 {main}
008+ thrown in %s/bug47849.php on line 10