]> Demo of the Message Logger component Introduction

The Message Logger component is included in the basic DocZilla package that you've now downloaded. The purpose of the component is to log parser messages to help a developer check that the document is ok, and if not, help solving the problems. Note that the DocZilla parser is not a validating parser - it tries to be forgiving and display the document if possible even if there are errors. Also other components submit their warning and error messages to the message logger. You can define whether you want the message logger to pop up automatically if a bad enough error was encountered.

Using the Message Logger

You will find the message logger in the menu View > Message Logger and you'll bring up the Message Logger window by selecting that item. The context menu after loading a SGML/XML file using the DocZilla parser

The Message Logger displays messages of four different kinds. The Information messages are there just to inform the user about what catalog file, DTD file etc, that were read. The different kind of warnings and error messages inform you about problems of different kinds. In the example below we get a critical warning about an undefined element - that's what'll happen if you try to use notation attributes without defining them first ;-). An example of messages.

Sorting Messages

You can sort the messages by clicking the different items on the menu bar, i.e. by clicking "Critical Errors" all other messages will be hidden.