Skip to content

Handling of error messages

jsalvata edited this page Nov 12, 2011 · 1 revision

To be written...

Discuss mechanisms to handle error messages ...

The current implementation seriously leaks implementation details: e.g. if a tag <a> doesn't accept a certain attribute attr, the error will show as "startAttribute_attr is not a member of sTag_a" ... which is not very informative to the programmer who is not familiar with the workings of Unmarshallers.

Validation (e.g. using RELAX) could alleviate this... are there other ways? ...?

Clone this wiki locally