- Modified to add a parent, parentId element to errors if the error has a parent element containing an id.
- Added the path element to errors. This is used to show the xpath to the specified error element.