[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

835.0. ".GNC the default extension?????" by TWIRL2::CRUGNOLA () Thu Aug 20 1987 17:42


A bug or a feature?

If you have two files with the same name but different extensions, say 
ZIP.GNC AND ZIP.SDML, and you are running Version T1.0-08, the command:

                DOCUMENT ZIP GENERAL LN03

will process ZIP.GNC instead of ZIP.SDML.  However, if you delete ZIP.GNC,
the same command will then process ZIP.SDML.  

T.RTitleUserPersonal
Name
DateLines
835.1Not really eitherWRONGO::PARMENTERWhat decade was this?Thu Aug 20 1987 18:4510
    This happened because we changed the input extension from GNC to
    SDML.  This only affects internal customers, naturally, since there
    were never any external customers who had GNC files.  It seemed
    unfair to make everyone instantly rename all of their files from
    GNC to SDML, so we decided to support both formats for the first
    release.  Please use SDML for all new files, because GNC will probably
    not work in 1.2.
    
    David
    
835.2MARTY::FRIEDMANFri Aug 21 1987 10:135
    Many people have tripped over this because they were not aware of
    DOCUMENT's subtle behavior. It seems more natural to assume that
    the .SDML file would be used first.
    
    Marty
835.3What about /SYMBOLS files?CHGV04::ORZECHAlvin Orzechowski @RDCFri Aug 21 1987 13:0011
>>>    This happened because we changed the input extension from GNC to
>>>    SDML.  This only affects internal customers, naturally, since there
>>>    were never any external customers who had GNC files.  It seemed
>>>    unfair to make everyone instantly rename all of their files from
>>>    GNC to SDML, so we decided to support both formats for the first
>>>    release.  Please use SDML for all new files, because GNC will probably
>>>    not work in 1.2.

     Okay, but it seems to me that I had to specify the .SDML filetype when
     using the /SYMBOLS= qualifier, but I didn't have to specify a filetype
     if my symbols file had a .GNC type.
835.4rename your files and the problem goes away...VAXUUM::PELTZ�lvynstar Dun�dainMon Aug 24 1987 17:1714
         You have to supply the extension .SDML ONLY when there
         are files name xxxx.GNC AND xxxx.SDML in the same directory.
         
         This "feature" works the way it does so that any RMS error
         messages will come out only with the .SDML file extention.
         The results you all have been getting are due to you not
         renaming ALL your .GNC files to .SDML files.  This task of
         renaming must be complete before the next version is
         released, since .GNC will not be supported as a default
         starting at that time.
         
      
         Chris   
835.5Still in V1.0 ...UNTADA::CAAHANSHans Bachner, ADG MunichWed Sep 09 1987 04:574
    Unfortunately, this behaviour continues in the SDC version ...
    I processed and printed a outdated version of a document yesterday
    
    Hans.   :-(
835.6two more cents on the pileGNUVAX::SJONESWed Sep 09 1987 17:3417
   DOCUMENT's preference for the .GNC file over the .SDML file has tripped
   up several writers using DOC$CONVERT here.  If you take the following
   steps (the natural progression), DOCUMENT processes the BL06
   file rather than the Version 1 file: 
     
       $ DOC$CONVERT foo                       (leaves a BL06 FOO.GNC file
                                                and a V1.0 FOO.SDML file
                                                in the current directory)

       $ DOCUMENT foo doctype destination      (processes the BL06 file
                                                and ruins your mood)
    
   Previous versions of DOC$CONVERT used ".GNC_6" to identify a BL06 file.
   If this were still the case, the above DOCUMENT command would ignore the
   BL06 file (FOO.GNC_6) and process the V1.0 file (FOO.SDML) instead.
   Could future versions (if any) of DOC$CONVERT give us back the .GNC_6
   file extension? 
835.7A Simple SolutionRDCV01::FSLRob Aldridge, FSL/BACISThu Sep 10 1987 10:0118
    
    C'mon now...all this discussion about a simple little mistake.
    
    People, I don't think the DOCUMENT group really has time to correct
    this little "problem."  Actually this "problem" was a "feature"
    that saved you the headache of typing ".GNC" if you still had
    unconverted documents lying around.
    
    May I suggest the following?
    
    		$ DOC$CONVERT filename
 
       		$ RENAME *.GNC *.GNC_6
    
    
    It's really not that difficult...
    
    -Rob-
835.8It been reported before ...CLOSET::DEVRIESM.D. -- your Device DoctorThu Sep 10 1987 15:282
    The next version won't know about .GNC anyway.  So the problem goes
    away.