StartDocument( documentVersion="1.0" ) Comment( text=" Colon in ID attribute name " ) DTD( text=" <!DOCTYPE foo [ <!ELEMENT foo ANY> <!ATTLIST foo id ID #REQUIRED> ]>" dtdName="foo" ) StartElement( name="foo" qualifiedName="foo" Attribute( name="id" qualifiedName="id" value="a:b" ) ) EndElement( name="foo" qualifiedName="foo" ) EndDocument( )