StartDocument( documentVersion="1.0" ) Comment( text=" Colon in ID attribute name " ) DTD( text=" ]>" dtdName="foo" ) StartElement( name="foo" qualifiedName="foo" Attribute( name="id" qualifiedName="id" value="a:b" ) ) EndElement( name="foo" qualifiedName="foo" ) EndDocument( )