[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

528.0. "DEFINITON LISTS" by PANAMA::GILLIAM () Thu Jun 18 1987 20:26

The following sample definition list produces tag translation messages
with a severity level of W.

<definition_list>
<definition_list_head>(Just Another Heading)

<deflist_item>(Item A)

<deflist_item>(Item B)

<deflist_item>(Item C)

<enddefinition_list>

The message claims that I'm trying to nest <DEFLIST_ITEM> tags. 

	%TAG-W-NONESTING, at tag <DEFLIST_ITEM> on line 139 in file....

I suppose it expects to see a <DEFLIST_DEF> tag before it encounters another
<DEFLIST_ITEM> tag.

The tag translator doesn't complain when you omit the definition in 
PARAMDEFLISTs and QUALDEFLISTs. I was hoping all the definition lists 
would behave similarly.

The output is OK, though.

Could this warning be turned off?

    
T.RTitleUserPersonal
Name
DateLines
528.1but if there are no definitions...CLOSET::ANKLAMThu Jun 18 1987 23:396
    
    I don't understand why you have items that have no definitions ?
    If there's a bug anywhere, it's in the fact that <qualdeflist>s
    and <paramdeflist>s don't signal a warning. 
    
    
528.2I agreePANAMA::GILLIAMFri Jun 19 1987 11:1112
   It's heresy, I know. There are extenuating circumstances.
   I would never create a definition item without a definition. However,
   I'm extracting (among other stuff) definition 
    items (the tag and the argument) from parameter, qualifier, 
    and generic definition lists in other manuals. I don't need the
    definition.
   
    If, as you say, QUALDEFLISTs and PARAMDEFLISTs don't adhere to the
    rule then, perhaps I should also extract the accompanying
    <QUALDEF>, <PARAMDEF>, and <DEFLIST_DEF> tags WITHOUT their arguments
    just to make everything perfectly legal.