Eco Companion Australasia
Help
help | about | home | feedback | member services | browse | search | new | glossary | join

Guide to parser messages

This guide explains some of the messages that you may be presented with when your catalogue documents are processed by the Parser.

The parser will retrieve your document, validate it against the Document Type Definition, and report any problems under the heading: 'Validate against DTD' errors. The parser is strict and any problems are comprehensively reported.

The parser will read your file as a stream of sequential characters. When the parser encounters the pattern of an opening tag of an element, e.g. <description>, it will run a process to validate this element's relationship to the structure specified by the DTD. Similar processes will run when it encounters the closing tag to ensure that all required children elements were present. At the close of some elements, the content is compared to the relevant authority list.

These are explanations of some sample errors may be reported by the parser:

Please report any parsing and validating problems that are not related to your specific document content.


Example "Validation against DTD" errors:

When reading the error messages you will need to bear in mind that the parser is processing the flow of your document, character by character and line by line.

If you have used the W3C HTML Validation service, then you will recognise these error messages that come directly from the wonderful 'nsgmls' parser.

In the example error messages below:
- column #2 is the line number in the SGML file
- column #3 is the character number on that line

Occasional fatal errors

Sometimes the content of a field can cause the post-processor to die. These errors are at the document production and formatting stage of the process.


URL:http://www.indexgeo.com.au/ec/help/parser-guide.html
Last Modified: 21 September 2001