Fix XML parser condition in XmlPatchBodyReader