The Messages Pane (screenshot below) displays messages in the following contexts:
•It reports the validation results of the currently active project. This includes all pages in the project. If an error is reported, the error message contains a link that points to the component that generated the error.
•During simulations, it provides a detailed and step-by-step report of the progress of the workflow.
The toolbar of the Messages Pane contains commands that enable the following actions: filtering of the messages, navigation of the messages, copying of messages, searching the messages, setting the background colors of server and client log messages, and clearing the current tab. There are nine Messages tabs. Therefore, you can retain the results of a validation in one tab while carrying out a simulation with a new tab open.
Using XPath trace() to generate messages
You can use XPath's trace() function to generate messages in the Messages Pane. For example, the following XPath expression will generate a message that reflects the value in the Company/Name node:
if (Company/Name="Altova") then trace("Company is Altova") else trace("Company is not Altova")
The text of the relevant trace function is returned as the message in the Messages Pane. This message will also be a link, which when clicked takes you to the the originating trace function.
You can specify what kind of messages are displayed in the Messages Pane. To do this, click the Filter button in the toolbar of the Messages Pane (screenshot above). This displays the Filter Settings dialog (screenshot below). Select the message types you want to display and click Close. This feature can be very useful, for example, if there are too many messages and you wish to focus on just one type of message.
For messages that are displayed during simulations, different colors can be set for actions that take place on the server and on the client. If you set clearly distinguishable colors, you can very easily follow the workflow in the Messages Pane. This can be of great help in debugging. To set customs colors, click the Colors button in the toolbar of the Messages Pane (screenshot above). This displays the Color Settings dialog (screenshot below), in which you can set the colors you want.