| Title: | DOCUMENT T1.0 |
| Notice: | **New notesfile (DOCUMENT.NOTE) now available (see note 897)** |
| Moderator: | CLOSET::ADLER |
| Created: | Mon Feb 09 1987 |
| Last Modified: | Thu Oct 31 1991 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 897 |
| Total number of notes: | 4397 |
The tag translator now provides more information about the location of an
error. Correcting errors can be time-consuming in certain
instances.
Direct Reference
----------------
During element processing, the tag translator returns a line number in the
input file.
One Level of Indirection
------------------------
During bookbuilds, the tag translator returns
1. a line number in the profile indicating
the element containing the problem or in the case of a missing
terminating tag, the line number of the next element
2. the line number of the error in the element itself.
1+ Levels of Indirection
------------------------
The increased use of included files in book elements due to context-setting
tags creates a new situation. A problem arises when there is more than one
level of indirection as in the following example.
<profile>
<element>(part1.gnc)
<element>(part2.gnc)----><part>
<element>(part3.gnc) <include>(2824create.gnc)
<include>(2824delete.gnc)
<endprofile> <include>(2824remove.gnc)
<include>(2824insert.gnc)-----><routine_section>
<routine>(SYS$INSERT)
<overview>
.
.
I receive accurate line numbers for the profile and subelement (2824INSERT.GNC).
However, unless the warning provides some clue, I must draft each subelement
within the element PART2.GNC to find out which one contains the offending line.
If this has been mentioned before, please ignore this note
Mason
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 359.1 | yep, it's a bug | VAXUUM::KOHLBRENNER | Mon May 11 1987 10:08 | 6 | |
I can't recall whether it has been "noted" before, but I
have an item on a list of things to do here, which states,
"Fix bug in error messages during book builds -- wrong file names and
line numbers reported."
Thanks for the example of the failure.
| |||||