home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / dev / lang / sgmls / doc / sgmls.txt < prev    next >
Encoding:
Text File  |  1994-07-10  |  26.4 KB  |  727 lines

  1.  
  2.  
  3.  
  4. SGMLS(1)                                                 SGMLS(1)
  5.  
  6.  
  7. NAME
  8.        sgmls - a validating SGML parser
  9.  
  10.        An SGML System Conforming to
  11.        International Standard ISO 8879 --
  12.        Standard Generalized Markup Language
  13.  
  14. SYNOPSIS
  15.        sgmls  [  -deglprsuv  ] [ -cfile ] [ -iname ] [ -mfile ] [
  16.        filename...  ]
  17.  
  18. DESCRIPTION
  19.        Sgmls parses and validates the  SGML  document  entity  in
  20.        filename...   and  prints  on the standard output a simple
  21.        ASCII representation of its Element Structure  Information
  22.        Set.   (This  is  the  information  set which a structure-
  23.        controlled conforming SGML application should  act  upon.)
  24.        Note  that  the document entity may be spread amongst sev-
  25.        eral files; for example, the  SGML  declaration,  document
  26.        type  declaration  and document instance set could each be
  27.        in a separate file.  If no filenames are  specified,  then
  28.        sgmls  will  read  the  document  entity from the standard
  29.        input.  A filename of - can also be used to refer  to  the
  30.        standard input.
  31.  
  32.        The following options are available:
  33.  
  34.        -cfile Report  any  capacity  limits that are exceeded and
  35.               write a report of  capacity  usage  to  file.   The
  36.               report  is in the format of a RACT result.  RACT is
  37.               the  Reference  Application  for  Capacity  Testing
  38.               defined  in the Proposed American National Standard
  39.               Conformance Testing for Standard Generalized Markup
  40.               Language  (SGL)  Systems  (X3.190-199X), Draft July
  41.               1991.
  42.  
  43.        -d     Warn about duplicate entity declarations.
  44.  
  45.        -e     Describe open entities in  error  messages.   Error
  46.               messages  always  include  the position of the most
  47.               recently opened external entity.
  48.  
  49.        -g     Show the GIs of open elements in error messages.
  50.  
  51.        -iname Pretend that
  52.  
  53.                      <!ENTITY % name "INCLUDE">
  54.  
  55.               occurs at the start of the document  type  declara-
  56.               tion  subset  in  the  SGML document entity.  Since
  57.               repeated definitions of an entity are ignored, this
  58.               definition will take precedence over any other def-
  59.               initions of this entity in the document type decla-
  60.               ration.   Multiple  -i options are allowed.  If the
  61.  
  62.  
  63.  
  64.                                                                 1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SGMLS(1)                                                 SGMLS(1)
  71.  
  72.  
  73.               SGML declaration replaces the reserved name INCLUDE
  74.               then  the new reserved name will be the replacement
  75.               text of the entity.  Typically  the  document  type
  76.               declaration will contain
  77.  
  78.                      <!ENTITY % name "IGNORE">
  79.  
  80.               and  will use %name; in the status keyword specifi-
  81.               cation of a marked section  declaration.   In  this
  82.               case  the effect of the option will be to cause the
  83.               marked section not to be ignored.
  84.  
  85.        -l     Output L commands giving the  current  line  number
  86.               and filename.
  87.  
  88.        -mfile Map  public  identifiers and entity names to system
  89.               identifiers using  the  catalog  entry  file  file.
  90.               Multiple  -m  options  are  allowed.  Catalog entry
  91.               files specified with the -m option will be searched
  92.               before the defaults.
  93.  
  94.        -p     Parse only the prolog.  Sgmls will exit after pars-
  95.               ing the document type declaration.  Implies -s.
  96.  
  97.        -r     Warn about defaulted references.
  98.  
  99.        -s     Suppress output.   Error  messages  will  still  be
  100.               printed.
  101.  
  102.        -u     Warn about undefined elements: elements used in the
  103.               DTD but not defined.
  104.  
  105.        -v     Print the version number.
  106.  
  107.    Entity Manager
  108.        An external entity resides in  one  or  more  files.   The
  109.        entity manager component of sgmls maps a sequence of files
  110.        into an entity in three sequential stages:
  111.  
  112.        1.     each carriage return character  is  turned  into  a
  113.               non-SGML character;
  114.  
  115.        2.     each  newline character is turned into a record end
  116.               character, and at the  same  time  a  record  start
  117.               character  is  inserted  at  the  beginning of each
  118.               line;
  119.  
  120.        3.     the files are concatenated.
  121.  
  122.        A system identifier is interpreted as a list of  filenames
  123.        separated by colons.  A filename of - can be used to refer
  124.        to the standard input.
  125.  
  126.        If a system identifier is not specified, then  the  entity
  127.  
  128.  
  129.  
  130.                                                                 2
  131.  
  132.  
  133.  
  134.  
  135.  
  136. SGMLS(1)                                                 SGMLS(1)
  137.  
  138.  
  139.        manager  can generate one using catalog entry files in the
  140.        format defined in the SGML Open Draft Technical Resolution
  141.        on  Entity  Management.   A  catalog entry file contains a
  142.        sequence of entries in one of the following four forms:
  143.  
  144.        PUBLIC pubid sysid
  145.               This specifies that sysid should  be  used  as  the
  146.               system  identifier  if the the public identifier is
  147.               pubid.  Sysid is a system identifier as defined  in
  148.               ISO  8879  and  pubid  is  a  public  identifier as
  149.               defined in ISO 8879.
  150.  
  151.        ENTITY name sysid
  152.               This specifies that sysid should  be  used  as  the
  153.               system identifier if the entity is a general entity
  154.               whose name is name.
  155.  
  156.        ENTITY %name sysid
  157.               This specifies that sysid should  be  used  as  the
  158.               system  identifier  if  the  entity  is a parameter
  159.               entity whose name is name.  Note that there  is  no
  160.               space between the % and the name.
  161.  
  162.        DOCTYPE name sysid
  163.               This  specifies  that  sysid  should be used as the
  164.               system  identifier  if  the  entity  is  an  entity
  165.               declared in a document type declaration whose docu-
  166.               ment type name is name.
  167.  
  168.        The last two forms are extensions to the SGML Open format.
  169.        The  delimiters  can be omitted from the sysid provided it
  170.        does not contain any white space.   Comments  are  allowed
  171.        between  parameters delimited by -- as in SGML.  The envi-
  172.        ronment  variable  SGML_CATALOG_FILES  contains  a  colon-
  173.        separated  list  of  catalog  entry  files.  These will be
  174.        searched after any catalog entry files specified using the
  175.        -m  option.  If this environment variable is not set, then
  176.        a system dependent list of catalog  entry  files  will  be
  177.        used.   A match in a catalog entry file for a PUBLIC entry
  178.        will take precedence over a match in the same file for  an
  179.        ENTITY  or  DOCTYPE entry.  A filename in a system identi-
  180.        fier in a catalog entry file is  interpreted  relative  to
  181.        the directory containing the catalog entry file.
  182.  
  183.        If no match can be found in a catalog entry file, then the
  184.        entity manager will attempt to generate a  filename  using
  185.        the public identifier (if there is one) and other informa-
  186.        tion available to it.  Notation identifiers are  not  sub-
  187.        ject to this treatment.  This process is controlled by the
  188.        environment variable SGML_PATH;  this  contains  a  colon-
  189.        separated list of filename templates.  A filename template
  190.        is a filename that may contain substitution fields; a sub-
  191.        stitution field is a % character followed by a single let-
  192.        ter that indicates the value  of  the  substitution.   The
  193.  
  194.  
  195.  
  196.                                                                 3
  197.  
  198.  
  199.  
  200.  
  201.  
  202. SGMLS(1)                                                 SGMLS(1)
  203.  
  204.  
  205.        value  of  a substitution can either be a string or it can
  206.        be null.  The entity manager transforms the list of  file-
  207.        name  templates  into  a list of filenames by substituting
  208.        for each substitution field and  discarding  any  template
  209.        that  contained a substitution field whose value was null.
  210.        It then uses the first resulting filename that exists  and
  211.        is  readable.   Substitution values are transformed before
  212.        being used for substitution: firstly, any names that  were
  213.        subject  to  upper  case  substitution are folded to lower
  214.        case; secondly, space characters are mapped to underscores
  215.        and  slashes  are mapped to percents.  The value of the %S
  216.        field is not  transformed.   The  values  of  substitution
  217.        fields are as follows:
  218.  
  219.        %%     A single %.
  220.  
  221.        %D     The entity's data content notation.  This substitu-
  222.               tion will succeed only for external data  entities.
  223.  
  224.        %N     The entity, notation or document type name.
  225.  
  226.        %P     The public identifier if there was a public identi-
  227.               fier, otherwise null.
  228.  
  229.        %S     The system identifier if there was a system identi-
  230.               fier otherwise null.
  231.  
  232.        %X     (This  is  provided  mainly  for compatibility with
  233.               ARCSGML.)  A three-letter string chosen as follows:
  234.                                          |            |
  235.                                          |            | With public identifier
  236.                                          |            +-------------+-----------
  237.                                          | No public  |   Device    |  Device
  238.                                          | identifier | independent | dependent
  239.               ---------------------------+------------+-------------+-----------
  240.               Data or subdocument entity | nsd        | pns         | vns
  241.               General SGML text entity   | gml        | pge         | vge
  242.               Parameter entity           | spe        | ppe         | vpe
  243.               Document type definition   | dtd        | pdt         | vdt
  244.               Link process definition    | lpd        | plp         | vlp
  245.  
  246.               The  device  dependent  version  is selected if the
  247.               public text class allows a public text display ver-
  248.               sion  but no public text display version was speci-
  249.               fied.
  250.  
  251.        %Y     The type of thing for which the filename  is  being
  252.               generated:
  253.               SGML subdocument entity    sgml
  254.               Data entity                data
  255.               General text entity        text
  256.               Parameter entity           parm
  257.               Document type definition   dtd
  258.  
  259.  
  260.  
  261.  
  262.                                                                 4
  263.  
  264.  
  265.  
  266.  
  267.  
  268. SGMLS(1)                                                 SGMLS(1)
  269.  
  270.  
  271.               Link process definition    lpd
  272.  
  273.        The  value  of  the  following substitution fields will be
  274.        null unless a valid formal public identifier was supplied.
  275.  
  276.        %A     Null  if  the  text identifier in the formal public
  277.               identifier contains an unavailable text  indicator,
  278.               otherwise the empty string.
  279.  
  280.        %C     The public text class, mapped to lower case.
  281.  
  282.        %E     The   public   text  designating  sequence  (escape
  283.               sequence) if the public text class is CHARSET, oth-
  284.               erwise null.
  285.  
  286.        %I     The  empty  string  if  the owner identifier in the
  287.               formal public identifier is an  ISO  owner  identi-
  288.               fier, otherwise null.
  289.  
  290.        %L     The  public  text  language,  mapped to lower case,
  291.               unless the public text class is CHARSET,  in  which
  292.               case null.
  293.  
  294.        %O     The  owner  identifier  (with the +// or -// prefix
  295.               stripped.)
  296.  
  297.        %R     The empty string if the  owner  identifier  in  the
  298.               formal  public  identifier  is  a  registered owner
  299.               identifier, otherwise null.
  300.  
  301.        %T     The public text description.
  302.  
  303.        %U     The empty string if the  owner  identifier  in  the
  304.               formal  public  identifier is an unregistered owner
  305.               identifier, otherwise null.
  306.  
  307.        %V     The public text display version.  This substitution
  308.               will  be  null  if  the  public text class does not
  309.               allow a display version or if no version was speci-
  310.               fied.   If  an empty version was specified, a value
  311.               of default will be used.
  312.  
  313.        Normally if the external identifier for an entity includes
  314.        a system identifier, the entity manager will use the spec-
  315.        ified system identifier and not attempt to  generate  one.
  316.        If,  however, SGML_PATH uses the %S field, then the entity
  317.        manager will first search for a matching entry in the cat-
  318.        alog  entry files.  If a match is found, then this will be
  319.        used instead of the specified system  identifier.   Other-
  320.        wise,  if the specified system identifier does not contain
  321.        any colons, the entity manager will use SGML_PATH to  gen-
  322.        erate  a  filename.  Otherwise the entity manager will use
  323.        the specified system identifier.
  324.  
  325.  
  326.  
  327.  
  328.                                                                 5
  329.  
  330.  
  331.  
  332.  
  333.  
  334. SGMLS(1)                                                 SGMLS(1)
  335.  
  336.  
  337.    System declaration
  338.        The system declaration for sgmls is as follows:
  339.  
  340.                           SYSTEM "ISO 8879:1986"
  341.                                   CHARSET
  342.        BASESET  "ISO 646-1983//CHARSET
  343.                  International Reference Version (IRV)//ESC 2/5 4/0"
  344.        DESCSET  0 128 0
  345.        CAPACITY PUBLIC  "ISO 8879:1986//CAPACITY Reference//EN"
  346.                                  FEATURES
  347.        MINIMIZE DATATAG NO  OMITTAG  YES   RANK     NO  SHORTTAG YES
  348.        LINK     SIMPLE  NO  IMPLICIT NO    EXPLICIT NO
  349.        OTHER    CONCUR  NO  SUBDOC   YES 1 FORMAL   YES
  350.        SCOPE    DOCUMENT
  351.        SYNTAX   PUBLIC  "ISO 8879:1986//SYNTAX Reference//EN"
  352.        SYNTAX   PUBLIC  "ISO 8879:1986//SYNTAX Core//EN"
  353.                                  VALIDATE
  354.                 GENERAL YES MODEL    YES   EXCLUDE  YES CAPACITY YES
  355.                 NONSGML YES SGML     YES   FORMAL   YES
  356.                                    SDIF
  357.                 PACK    NO  UNPACK   NO
  358.  
  359.        Exceeding a capacity limit will be ignored unless  the  -c
  360.        option is given.
  361.  
  362.        The  memory usage of sgmls is not a function of the capac-
  363.        ity points used by a document; however, sgmls  can  handle
  364.        capacities significantly greater than the reference capac-
  365.        ity set.
  366.  
  367.        In some environments, higher values may be  supported  for
  368.        the SUBDOC parameter.
  369.  
  370.        Documents  that do not use optional features are also sup-
  371.        ported.  For example, if FORMAL NO  is  specified  in  the
  372.        SGML  declaration, public identifiers will not be required
  373.        to be valid formal public identifiers.
  374.  
  375.        Certain parts of the concrete syntax may be changed:
  376.  
  377.               The shunned character numbers can be changed.
  378.  
  379.               Eight bit characters can be assigned  to  LCNMSTRT,
  380.               UCNMSTRT, LCNMCHAR and UCNMCHAR.
  381.  
  382.               Uppercase substitution can be performed or not per-
  383.               formed both for entity names and for other names.
  384.  
  385.               Either short reference delimiters assigned  by  the
  386.               reference  delimiter  set  or  no  short  reference
  387.               delimiters are supported.
  388.  
  389.               The reserved names can be changed.
  390.  
  391.  
  392.  
  393.  
  394.                                                                 6
  395.  
  396.  
  397.  
  398.  
  399.  
  400. SGMLS(1)                                                 SGMLS(1)
  401.  
  402.  
  403.               The quantity set can be  increased  within  certain
  404.               limits  subject  to  there  being sufficient memory
  405.               available.  The upper limit on NAMELEN is 239.  The
  406.               upper  limits on ATTCNT, ATTSPLEN, BSEQLEN, ENTLVL,
  407.               LITLEN, PILEN, TAGLEN, and  TAGLVL  are  more  than
  408.               thirty  times  greater  than  the reference limits.
  409.               The upper limit on GRPCNT, GRPGTCNT, and GRPLVL  is
  410.               253.   NORMSEP  cannot  be  changed.   DTAGLEN  are
  411.               DTEMPLEN irrelevant since sgmls  does  not  support
  412.               the DATATAG feature.
  413.  
  414.    SGML declaration
  415.        The  SGML declaration may be omitted, the following decla-
  416.        ration will be implied:
  417.                              <!SGML "ISO 8879:1986"
  418.                                      CHARSET
  419.        BASESET  "ISO 646-1983//CHARSET
  420.                  International Reference Version (IRV)//ESC 2/5 4/0"
  421.        DESCSET    0  9 UNUSED
  422.                   9  2  9
  423.                  11  2 UNUSED
  424.                  13  1 13
  425.                  14 18 UNUSED
  426.                  32 95 32
  427.                 127  1 UNUSED
  428.        CAPACITY PUBLIC  "ISO 8879:1986//CAPACITY Reference//EN"
  429.        SCOPE    DOCUMENT
  430.        SYNTAX   PUBLIC  "ISO 8879:1986//SYNTAX Reference//EN"
  431.                                     FEATURES
  432.        MINIMIZE DATATAG NO OMITTAG  YES          RANK     NO  SHORTTAG YES
  433.        LINK     SIMPLE  NO IMPLICIT NO           EXPLICIT NO
  434.        OTHER    CONCUR  NO SUBDOC   YES 99999999 FORMAL   YES
  435.                                   APPINFO NONE>
  436.        with the exception that characters 128 through 254 will be
  437.        assigned to DATACHAR.
  438.  
  439.        Sgmls identifies base character sets using the designating
  440.        sequence in the public identifier.  The  following  desig-
  441.        nating sequences are recognized:
  442.          Designating          ISO         Minimum      Number
  443.             Escape        Registration   Character       of             Description
  444.            Sequence          Number       Number     Characters
  445.        ------------------------------------------------------------------------------------
  446.        ESC 2/5 4/0             -             0          128       full set of ISO 646 IRV
  447.        ESC 2/8 4/0              2           33           94       G0 set of ISO 646 IRV
  448.        ESC 2/8 4/2              6           33           94       G0 set of ASCII
  449.        ESC 2/13 4/1           100           32           96       G1 set of ISO 8859-1
  450.        ESC 2/1 4/0              1            0           32       C0 set of ISO 646
  451.        ESC 2/2 4/3             77            0           32       C1 set of ISO 6429
  452.        ESC 2/5 2/15 3/0        -             0          256       the system character set
  453.  
  454.        When one of the G0 sets is used as a base set, the charac-
  455.        ters SPACE and DELETE are treated as  occurring  at  posi-
  456.        tions  32  and 127 respectively; although these characters
  457.  
  458.  
  459.  
  460.                                                                 7
  461.  
  462.  
  463.  
  464.  
  465.  
  466. SGMLS(1)                                                 SGMLS(1)
  467.  
  468.  
  469.        are not part of  the  character  sets  designated  by  the
  470.        escape  sequences,  this  mimics the behaviour of ISO 2022
  471.        with respect to these code positions.
  472.  
  473.    Output format
  474.        The output is a series of lines.  Lines can be arbitrarily
  475.        long.   Each line consists of an initial command character
  476.        and one or more arguments.  Arguments are separated  by  a
  477.        single  space,  but when a command takes a fixed number of
  478.        arguments the last argument can contain spaces.  There  is
  479.        no space between the command character and the first argu-
  480.        ment.   Arguments  can  contain   the   following   escape
  481.        sequences.
  482.  
  483.        \\     A \.
  484.  
  485.        \n     A record end character.
  486.  
  487.        \|     Internal SDATA entities are bracketed by these.
  488.  
  489.        \nnn   The character whose code is nnn octal.
  490.  
  491.        A  record  start  character  will  be represented by \012.
  492.        Most applications will need to ignore \012  and  translate
  493.        \n into newline.
  494.  
  495.        The  possible command characters and arguments are as fol-
  496.        lows:
  497.  
  498.        (gi    The start of an element whose generic identifier is
  499.               gi.  Any attributes for this element will have been
  500.               specified with A commands.
  501.  
  502.        )gi    The end an element whose generic identifier is  gi.
  503.  
  504.        -data  Data.
  505.  
  506.        &name  A  reference  to an external data entity name; name
  507.               will have been defined using an E command.
  508.  
  509.        ?pi    A processing instruction with data pi.
  510.  
  511.        Aname val
  512.               The next element to start  has  an  attribute  name
  513.               with  value  val  which  takes one of the following
  514.               forms:
  515.  
  516.               IMPLIED
  517.                      The value of the attribute is implied.
  518.  
  519.               CDATA data
  520.                      The attribute is character  data.   This  is
  521.                      used  for attributes whose declared value is
  522.                      CDATA.
  523.  
  524.  
  525.  
  526.                                                                 8
  527.  
  528.  
  529.  
  530.  
  531.  
  532. SGMLS(1)                                                 SGMLS(1)
  533.  
  534.  
  535.               NOTATION nname
  536.                      The attribute is a notation name; nname will
  537.                      have  been  defined using a N command.  This
  538.                      is used for attributes whose declared  value
  539.                      is NOTATION.
  540.  
  541.               ENTITY name...
  542.                      The  attribute  is  a list of general entity
  543.                      names.  Each  entity  name  will  have  been
  544.                      defined using an I, E or S command.  This is
  545.                      used for attributes whose declared value  is
  546.                      ENTITY or ENTITIES.
  547.  
  548.               TOKEN token...
  549.                      The  attribute is a list of tokens.  This is
  550.                      used for attributes whose declared value  is
  551.                      anything else.
  552.  
  553.        Dename name val
  554.               This  is  the same as the A command, except that it
  555.               specifies a data attribute for an  external  entity
  556.               named  ename.  Any D commands will come after the E
  557.               command that  defines  the  entity  to  which  they
  558.               apply,  but  before any & or A commands that refer-
  559.               ence the entity.
  560.  
  561.        Nnname nname.  Define a notation This command will be pre-
  562.               ceded  by  a p command if the notation was declared
  563.               with a public identifier, and by a s command if the
  564.               notation  was declared with a system identifier.  A
  565.               notation will only be defined if it is to be refer-
  566.               enced  in  an  E  command or in an A command for an
  567.               attribute with a declared value of NOTATION.
  568.  
  569.        Eename typ nname
  570.               Define an external data  entity  named  ename  with
  571.               type  typ (CDATA, NDATA or SDATA) and notation not.
  572.               This command will be preceded by one or more f com-
  573.               mands  giving the filenames generated by the entity
  574.               manager from the system and public identifiers,  by
  575.               a p command if a public identifier was declared for
  576.               the entity, and by a s command if a system  identi-
  577.               fier  was  declared  for the entity.  not will have
  578.               been defined using a N  command.   Data  attributes
  579.               may  be  specified for the entity using D commands.
  580.               An external data entity will only be defined if  it
  581.               is  to be referenced in a & command or in an A com-
  582.               mand for  an  attribute  whose  declared  value  is
  583.               ENTITY or ENTITIES.
  584.  
  585.        Iename typ text
  586.               Define  an  internal  data  entity named ename with
  587.               type typ (CDATA or SDATA) and entity text text.  An
  588.               internal  data entity will only be defined if it is
  589.  
  590.  
  591.  
  592.                                                                 9
  593.  
  594.  
  595.  
  596.  
  597.  
  598. SGMLS(1)                                                 SGMLS(1)
  599.  
  600.  
  601.               referenced in an A command for an  attribute  whose
  602.               declared value is ENTITY or ENTITIES.
  603.  
  604.        Sename Define a subdocument entity named ename.  This com-
  605.               mand will be preceded by one  or  more  f  commands
  606.               giving  the  filenames generated by the entity man-
  607.               ager from the system and public identifiers, by a p
  608.               command if a public identifier was declared for the
  609.               entity, and by a s command if a  system  identifier
  610.               was  declared for the entity.  A subdocument entity
  611.               will only be defined if it is  referenced  in  a  {
  612.               command  or  in an A command for an attribute whose
  613.               declared value is ENTITY or ENTITIES.
  614.  
  615.        ssysid This command applies to the next E, S or N  command
  616.               and specifies the associated system identifier.
  617.  
  618.        ppubid This  command applies to the next E, S or N command
  619.               and specifies the associated public identifier.
  620.  
  621.        ffilename
  622.               This command applies to the next E or S command and
  623.               specifies  an  associated  filename.  There will be
  624.               more than one f command for a single E or S command
  625.               if the system identifier used a colon.
  626.  
  627.        {ename The  start  of  the  SGML subdocument entity ename;
  628.               ename will have been defined using a S command.
  629.  
  630.        }ename The end of the SGML subdocument entity ename.
  631.  
  632.        Llineno file
  633.        Llineno
  634.               Set the current  line  number  and  filename.   The
  635.               filename  argument will be omitted if only the line
  636.               number has changed.  This will be  output  only  if
  637.               the -l option has been given.
  638.  
  639.        #text  An  APPINFO  parameter of text was specified in the
  640.               SGML declaration.  This is not strictly part of the
  641.               ESIS,  but  a  structure-controlled  application is
  642.               permitted to act on it.  No # command will be  out-
  643.               put  if  APPINFO NONE  was  specified.  A # command
  644.               will occur at most once, and may be  preceded  only
  645.               by a single L command.
  646.  
  647.        C      This command indicates that the document was a con-
  648.               forming SGML document.  If this command is  output,
  649.               it  will  be the last command.  An SGML document is
  650.               not  conforming  if  it  references  a  subdocument
  651.               entity that is not conforming.
  652.  
  653. BUGS
  654.        Some  non-SGML  characters  in literals are counted as two
  655.  
  656.  
  657.  
  658.                                                                10
  659.  
  660.  
  661.  
  662.  
  663.  
  664. SGMLS(1)                                                 SGMLS(1)
  665.  
  666.  
  667.        characters for the purposes of quantity and capacity  cal-
  668.        culations.
  669.  
  670. SEE ALSO
  671.        The SGML Handbook, Charles F. Goldfarb
  672.        ISO  8879 (Standard Generalized Markup Language), Interna-
  673.        tional Organization for Standardization
  674.  
  675. ORIGIN
  676.        ARCSGML was written by Charles F. Goldfarb.
  677.  
  678.        Sgmls  was   derived   from   ARCSGML   by   James   Clark
  679.        (jjc@jclark.com), to whom bugs should be reported.
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.                                                                11
  725.  
  726.  
  727.