#12 changed index on ErrorXML to not use an index