[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

423.0. "<CONDITION> tag doesn't work" by CLOSUS::AMEND () Wed May 27 1987 11:26

    
    Using Baselevel 8
    
    The condition tag doesn't appear to work correctly.  If I only
have one condition (example <condition>(field_service) then
condition works.  If I have two conditions
(example <condtion>(field_service\customer) and I select
/condition=release_notes in my document command, I get
Argument 1 to tag <CONDITION> is not a valid name.

Below are examples of different runs of a file .


<P>
this is some text.

<CONDITION>(field_service\release_notes)
<P>
This is text.
<ENDCONDITION>

<P>
This is some more

**************************************************************

$ document con s.s line_printer /condition=jim

$	set noon
$       set noverify
Welcome to VAX DOCUMENT 
%DOC-I-IDENT, VAX DOCUMENT T1.0-008
[ T a g   T r a n s l a t i o n ]...
%TAG-I-TAG_IDENT, T1.0-002
%TAG-I-DEFSLOADD, End of Loading of Tag Definitions
%TAG-I-SETCONDTN, Setting condition JIM
   on line 1 of file WRKD6$:[ARCHIVE.SAFE.DOC.RL]CON.SDML;
%TAG-W-ARGNOTNAM, at tag <CONDITION> on line 4 in file

WRKD6$:[ARCHIVE.SAFE.DOC.RL]CON.SDML;
   Argument 1 to tag
<CONDITION> is not a valid name
%TAG-I-ENDPASS_1, End of first pass over the input
%TAG-I-CPU_USAGE, Pass 1: 8.9  Pass 2: 0.9  Total: 9.9 seconds
[ T e x t   F o r m a t t i n g ]...
%TEX-I-IDENT, T1.0-005

%TEX-I-PAGESOUT, 1 page written.
-TEX-I-OUTFILENAME, 'wrkd6$:[archive.safe.doc.rl]CON.DVI_LINE'
[ D e v i c e   C o n v e r s i o n ]...
%DVC-I-IDENT, DVC$LPR T1.0-4
%DVC-I-PAGESOUT, 1 page written to file: 
   WRKD6$:[ARCHIVE.SAFE.DOC.RL]CON.LINE
  AMEND        job terminated at 27-MAY-1987 08:09:40.53

  Accounting information:
  Buffered I/O count:          176      Peak working set size:  2048
  Direct I/O count:            255      Peak page file size:    9374
  Page faults:                3944      Mounted volumes:           0
  Charged CPU time:     0 00:00:29.97   Elapsed time:     0 00:01:44.57


**** received this output ******


                      this is some text.

                      This is text.

                      This is some more


*************************************************

$ document con s.s line_printer /condition=release_notes

$	set noon
$       set noverify
Welcome to VAX DOCUMENT 
%DOC-I-IDENT, VAX DOCUMENT T1.0-008
[ T a g   T r a n s l a t i o n ]...
%TAG-I-TAG_IDENT, T1.0-002
%TAG-I-DEFSLOADD, End of Loading of Tag Definitions
%TAG-I-SETCONDTN, Setting condition RELEASE_NOTES
   on line 1 of file WRKD6$:[ARCHIVE.SAFE.DOC.RL]CON.SDML;
%TAG-I-ENDPASS_1, End of first pass over the input
%TAG-I-CPU_USAGE, Pass 1: 8.8  Pass 2: 1.0  Total: 9.8 seconds
[ T e x t   F o r m a t t i n g ]...
%TEX-I-IDENT, T1.0-005

%TEX-I-PAGESOUT, 1 page written.
-TEX-I-OUTFILENAME, 'wrkd6$:[archive.safe.doc.rl]CON.DVI_LINE'
[ D e v i c e   C o n v e r s i o n ]...
%DVC-I-IDENT, DVC$LPR T1.0-4
%DVC-I-PAGESOUT, 1 page written to file: 
   WRKD6$:[ARCHIVE.SAFE.DOC.RL]CON.LINE
%DELETE-W-SEARCHFAIL, error searching for WRKD6$:[ARCHIVE.SAFE.DOC.RL]CON.COM;*
-RMS-E-FNF, file not found
  AMEND        job terminated at 27-MAY-1987 08:01:38.29

  Accounting information:
  Buffered I/O count:          178      Peak working set size:  2048
  Direct I/O count:            325      Peak page file size:    9374
  Page faults:                3970      Mounted volumes:           0
  Charged CPU time:     0 00:00:30.46   Elapsed time:     0 00:01:47.64


**************received this



                      this is some text.

                      This is text.

                      This is some more




*********************************************************

new con.sdml file with only on condition

<P>
this is some text.

<CONDITION>(field_service)
<P>
This is text.
<ENDCONDITION>

<P>
This is some more

************* command

$ document con s.s line_printer /condition=jim

$	set noon
$       set noverify
Welcome to VAX DOCUMENT 
%DOC-I-IDENT, VAX DOCUMENT T1.0-008
[ T a g   T r a n s l a t i o n ]...
%TAG-I-TAG_IDENT, T1.0-002
%TAG-I-DEFSLOADD, End of Loading of Tag Definitions
%TAG-I-SETCONDTN, Setting condition JIM
   on line 1 of file WRKD6$:[ARCHIVE.SAFE.DOC.RL]CON.SDML;
%TAG-I-ENDPASS_1, End of first pass over the input
%TAG-I-CPU_USAGE, Pass 1: 12.3  Pass 2: 1.3  Total: 13.6 seconds
[ T e x t   F o r m a t t i n g ]...
%TEX-I-IDENT, T1.0-005

%TEX-I-PAGESOUT, 1 page written.
-TEX-I-OUTFILENAME, 'wrkd6$:[archive.safe.doc.rl]CON.DVI_LINE'
[ D e v i c e   C o n v e r s i o n ]...
%DVC-I-IDENT, DVC$LPR T1.0-4
%DVC-I-PAGESOUT, 1 page written to file: 
   WRKD6$:[ARCHIVE.SAFE.DOC.RL]CON.LINE
  AMEND        job terminated at 27-MAY-1987 08:16:40.30

  Accounting information:
  Buffered I/O count:          179      Peak working set size:  2048
  Direct I/O count:            311      Peak page file size:    9374
  Page faults:                3918      Mounted volumes:           0
  Charged CPU time:     0 00:00:41.28   Elapsed time:     0 00:01:27.23

************ received





                      this is some text.

                      This is some more


Thanks
jim amend
8625::AMEND
CXO3-2/C12
522-2351
T.RTitleUserPersonal
Name
DateLines
423.1puzzledVAXUUM::KOHLBRENNERWed May 27 1987 12:1213
    I can see that you show the sample <condtion> tag as
    
             <condition>(foo\bar)
    
    but I am wondering if you have not actually written it as
    
             <condition>(foo/bar)           
    
    That would cause the error that you reported, since the first
    argument, "foo/bar" has a character that is not legal in a name.
    
    I don't think it is connected with what you specify on the command
    line with the /CONDITION qualifier.
423.2bugCLOSET::ANKLAMWed May 27 1987 14:523
    
    There is a bug in BL8 in the setting of two conditions. I just found
    it last week, and it is fixed for T1.0. 
423.3Can we make a local fix?COOKIE::JOHNSTONWed May 27 1987 15:184
Is there an easy fix to it that we can make locally?


Rose
423.4Could you a patch upCLOSUS::AMENDWed May 27 1987 15:528
    Is there a fix I can put in.  I have 3 book ready to go to production
    that have these tags in them.
    
    thanks
    jim amend
    8625::amend
    522-2351
    
423.5coming right upCLOSET::ANKLAMWed May 27 1987 15:572
    
    will MAIL it to you.
423.6AUTHOR::WELLCOMESteveThu May 28 1987 09:133
    On the subject of the <CONDITION> tag, I'd like to make a request
    (again) for better conditional support, similar to that supported
    by DSRPLUS (IF/IFNOT/ELSE).  
423.7wishlistVAXUUM::KOHLBRENNERThu May 28 1987 09:442
    noted.