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 |
I just ran into a "gotcha" that I'd like to pass along as a warning to others. It's highly unlikely that anybody else will run into this, but one never knows. I kept getting <P> not valid within <CODE_EXAMPLE> error. However, when I looked at what was reported as the offending <CODE_EXAMPLE>(code) fragment, it seemed to be properly terminated with a parenthesis, everything seemed to match, etc. FINALLY! I noticed that the code fragment I was including in parentheses was the word WIDE, and WIDE is a reserved word for <CODE_EXAMPLE>. I changed it to <CODE_EXAMPLE>(<LITERAL>(WIDE)).
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
220.1 | Another reserve word gotcha | TLE::SAVAGE | Neil, @Spit Brook | Wed Apr 08 1987 11:51 | 5 |
I 'inherited' a file in which someone used "<text>" in several places in a code example. In previous versions, DOCUMENT processed this without complaint, but <TEXT> is a new reserved word in BL 7 so, errors galor. The remedy, as prescribed in .0, is to know your reserved words and surround them with <LITERAL> tags. | |||||
220.2 | What's <text>? | COOKIE::JOHNSTON | Wed Apr 08 1987 12:48 | 6 | |
Is <text> an undocumented (DEC-internal) tag? What does it do? | |||||
220.3 | <text> is a math tag | PICA::HIDER | Paul Hider | Thu Apr 09 1987 14:36 | 0 |