| The Analysis of the Structure of Input |
|
An SGML parser is a computer application that breaks down an SGML-coded document into a series of logical elements and checks that these elements conform to the model defined in the associated document type declaration. When parsing a document, the SGML parser: Checks each new character to see if it is part of a general delimiter string that identifies the start of a piece of markup. Checks whether or not the character is a short reference delimiter that needs to be expanded. Checks if the character is a separator character that should be ignored. Identifies the various markup tags, identifying any entities that need to be expanded or recalled from external sources. Checks if identified markup tags are valid according to the declared model. |