ENHANCEMENT added error handling for parsing XML documents with missing items.