StartDocument( documentVersion="1.0" ) Comment( text=" Namespace name test: a perfectly good http URI with a fragment " ) DTD( text=" ]>" dtdName="foo" ) StartElement( name="foo" namespaceUri="http://example.org/namespace#apples" qualifiedName="foo" NamespaceDeclaration( namespaceUri="http://example.org/namespace#apples" ) ) EndElement( name="foo" namespaceUri="http://example.org/namespace#apples" qualifiedName="foo" ) EndDocument( )