added XmlPullError and tests