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