1--TEST-- 2DOMDocumentFragment::appendXML() with unbound fragment. 3--CREDITS-- 4Eric Lee Stewart <ericleestewart@gmail.com> 5# TestFest Atlanta 2009-05-24 6--SKIPIF-- 7<?php require_once('skipif.inc'); ?> 8--FILE-- 9<?php 10$fragment = new DOMDocumentFragment(); 11try { 12 $fragment->appendXML('<bait>crankbait</bait>'); 13} catch (DOMException $e) { 14 echo $e->getMessage(); 15} 16?> 17--EXPECT-- 18No Modification Allowed Error 19