fixed HTML5 form attribute handling XPath query