[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxuum::document_ft

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

569.0. "Missing default headings in <STATEMENT> template?" by CRAYON::GENT (Party gone out of bounds -- B52&#039;s) Mon Jun 29 1987 11:27

I don't remember seeing a note about this earlier, so...

    I believe there is a bug in the <STATEMENT_SECTION> tags
    for baselevel 8.    
	
    The STATEMENT template doesn't include default headings for
    <FORMAT> and <DESCRIPTION> tags. As a result, <FORMAT> and
    <DESCRIPTION> tags within <STATEMENT_SECTION> areas generate
    the following errors:
    
	%TAG-I-TAG_IDENT, T1.0-002
	%TAG-I-DEFSLOADD, End of Loading of Tag Definitions
	%TAG-I-ENDPASS_1, End of first pass over the input
	%TAG-W-TAGNOTDEF, at tag <COMPARE> on line 5 in file
	       SYS$32T:[GENT.TRIAL]BUG.SDML;
	       Tag <_FORMAT_DEFAULT_HEAD> is undefined
	%TAG-W-TAGNOTDEF, at tag <COMPARE> on line 10 in file
	       SYS$32T:[GENT.TRIAL]BUG.SDML;
	       Tag <_DESCRIPTION_DEFAULT_HEAD> is undefined
    
	Note that this is true of the <STATEMENT> template only;
    	<COMMAND> and <ROUTINE> seem to work correctly.
    
    The following is the source code that generated the preceding
    errors:

<STATEMENT>(RESTORE)

<FORMAT>
<fcmd>(RESTORE)
<fparms>([ chnl-exp [, KEY # int-exp] ])
<ENDFORMAT>

<DESCRIPTION>
If you do not specify a chnl-exp, RESTORE rests the DATA pointer 
to the beginning of the DATA sequence.
<ENDDESCRIPTION>

<ENDSTATEMENT_SECTION>

<COMMAND_SECTION>
T.RTitleUserPersonal
Name
DateLines
569.1Bug in <statement_section> headingsCLOSET::ANKLAMTue Jun 30 1987 10:1810
    
    Yes, you are correct that those default headings are missing from
    the statement template. The statement template, as originally
    spec'd used <statement_format> instead of <format> and did not
    have a description section. I overlooked checking the standard
    template tags in this context. You can work around this using
    the <set_template_heading> tag to set the default headings.
    
    patti