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

There is 1 diff reported by users for this test.

Count Diff
4 (100%)
001+ Notice: Undefined property: DOMDocument::$documentElement in %s/canonicalization.php on line 17
002+
003+ Notice: Trying to get property of non-object in %s/canonicalization.php on line 17
001- <contain xmlns="http://www.example.com/ns/foo" xmlns:fubar="http://www.example.com/ns/fubar" xmlns:test="urn::test">
002- <bar><test1></test1></bar>
003- <bar><test2></test2></bar>
004- <fubar:bar><test3></test3></fubar:bar>
005- <fubar:bar><test4></test4></fubar:bar>
005+ Fatal error: Uncaught Error: Call to a member function C14N() on null in %s/canonicalization.php:20
006+ Stack trace:
007+ #0 {main}
008+ thrown in %s/canonicalization.php on line 20
007- </contain>
008-
009- <contain xmlns="http://www.example.com/ns/foo">
010- <bar><test1></test1></bar>
011- <bar><test2></test2></bar>
012- <fubar:bar xmlns:fubar="http://www.example.com/ns/fubar"><test3></test3></fubar:bar>
013- <fubar:bar xmlns:fubar="http://www.example.com/ns/fubar"><test4></test4></fubar:bar>
014-
015- </contain>
016-
017- <contain xmlns="http://www.example.com/ns/foo" xmlns:fubar="http://www.example.com/ns/fubar" xmlns:test="urn::test">
018- <bar><test1></test1></bar>
019- <bar><test2></test2></bar>
020- <fubar:bar><test3></test3></fubar:bar>
021- <fubar:bar><test4></test4></fubar:bar>
022- <!-- this is a comment -->
023- </contain>
024-
025- <contain xmlns="http://www.example.com/ns/foo">
026- <bar><test1></test1></bar>
027- <bar><test2></test2></bar>
028- <fubar:bar xmlns:fubar="http://www.example.com/ns/fubar"><test3></test3></fubar:bar>
029- <fubar:bar xmlns:fubar="http://www.example.com/ns/fubar"><test4></test4></fubar:bar>
030- <!-- this is a comment -->
031- </contain>
032-
033- <foo xmlns="http://www.example.com/ns/foo"><contain>
034- <bar><test1></test1></bar>
035- <bar><test2></test2></bar>
036- <fubar:bar xmlns:fubar="http://www.example.com/ns/fubar"><test3></test3></fubar:bar>
037- <fubar:bar xmlns:fubar="http://www.example.com/ns/fubar"><test4></test4></fubar:bar>
038-
039- </contain>
040- </foo>
041-
042- <contain xmlns="http://www.example.com/ns/foo" xmlns:test="urn::test"><bar></bar><bar></bar></contain>
043-
044- <contain xmlns="http://www.example.com/ns/foo" xmlns:test="urn::test">
045- <bar><test1></test1></bar>
046- <bar><test2></test2></bar>
047- <fubar:bar xmlns:fubar="http://www.example.com/ns/fubar"><test3></test3></fubar:bar>
048- <fubar:bar xmlns:fubar="http://www.example.com/ns/fubar"><test4></test4></fubar:bar>
049-
050- </contain>