1--TEST--
2Invalid State Error when getting data on DOMCharacterData out of content.
3--CREDITS--
4Eric Berg <ehberg@gmail.com>
5# TestFest Atlanta 2009-05-14
6--EXTENSIONS--
7dom
8--FILE--
9<?php
10$character_data = new DOMCharacterData();
11try {
12    print $character_data->data;
13} catch (DOMException $exception) {
14    echo $exception->getMessage() . "\n";
15}
16?>
17--EXPECT--
18Invalid State Error
19