1. A method comprising the computer-implemented steps of: while an XML processor performs a validation operation on an XML-based input stream, causing said XML processor to generate one or more messages that identify annotations associated with elements in said XML-based input stream.