Details
Description
When an error occurs during the serialization/deserialization phase, the error should contain context of where in the hierarchical stream the error occurred to aid debugging by the user.
For instance, an XPath expression:
/person/address[4]/areacode : Couldn't convert 'blah' to int.
I would like to see as much as possible in the error that could aid in debugging. Things such as: