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();
11$fragment->appendXML('<bait>crankbait</bait>');
12$document->appendChild($fragment);
13?>
14--EXPECTF--
15Fatal error: Uncaught DOMException: No Modification Allowed Error in %s:%d
16Stack trace:
17#0 %s(%d): DOMDocumentFragment->appendXML('<bait>crankbait...')
18#1 {main}
19  thrown in %s on line %d
20