--TEST-- tag with name attribute, tailing spaces, EOF --INPUT-- <foo bar --EXPECTED-- TAG_NAME_OPEN,3,foo ATTR_NAME,3,bar