made required attribute XHTML compliant

Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>