fix spec for XmlParser