StartDocument( documentVersion="1.0" ) Comment( text=" Simple legal case: default namespace and rebinding " ) StartElement( name="foo" namespaceUri="http://example.org/namespace" qualifiedName="foo" NamespaceDeclaration( namespaceUri="http://example.org/namespace" ) ) Characters( whitespace text=" " ) StartElement( name="foo" namespaceUri="http://example.org/other-namespace" qualifiedName="foo" NamespaceDeclaration( namespaceUri="http://example.org/other-namespace" ) ) EndElement( name="foo" namespaceUri="http://example.org/other-namespace" qualifiedName="foo" ) Characters( whitespace text=" " ) EndElement( name="foo" namespaceUri="http://example.org/namespace" qualifiedName="foo" ) EndDocument( )