Copyright © 1992, 1997 International Organization for Standardization. All rights reserved.

This electronic document is for use during development and review of International Standards. Official printed copies of International Standards can be purchased from the ISO and the national standards organization of your country.

Next ClausePrevious Clause  

homeParent clauseNext major clausePrevious major clauseNext clause at this levelPrevious clause at this level


A.5 General Architecture

A.5.4 Lexical types

A "lexical type" is a defined pattern of characters or tokens to which a character string or token sequence, respectively, conforms. A definition of a lexical type is called a "lexical model". Data that satisfies a test for conformance to a lexical model is called a "hit". The definition of lexical types is defined in A.2 Lexical Type Definition Requirements (LTDR).

The attribute form lextype consists of an attribute that allows an application to require that attributes and/or content must conform to a lexical type.

The attribute lexical types (lextype) pairs attributes and/or content with the names of lexical types. Normal SGML parsing of the character data occurs prior to lexical parsing.

NOTE 475 The "lextype" and "ulextype" conventional comments perform the function of lextype for some attribute value and content strings defined by the HyTime language. Care should be taken when defining lextype attributes that constrain such strings to ensure that the constraints of the lextype and ulextype comments can still be satisfied.

                  <!-- Lexical Typing Attribute -->
<![ %lextype; [
<!attlist
-- lextype --     -- Lexical typing attribute --
                  -- Clause: A.5.4 --
   #ALL

   lextype        -- Lexical types --
                  -- Lexical types of attribute values or character
                     data content --
      CDATA       -- Lextype: (ATTORCON,NAME)* --
                  -- Constraint: a given ATTNAME or #CONTENT can occur
                     only once --
      #IMPLIED    -- Constant --
                  -- Default: none --
>
]]><!-- lextype -->

Next ClausePrevious Clause  

Copyright © 1992, 1997 International Organization for Standardization. All rights reserved.

This electronic document is for use during development and review of International Standards. Official printed copies of International Standards can be purchased from the ISO and the national standards organization of your country.


HTML generated from the original SGML source using a DSSSL style specification and the SGML output back-end of the JADE DSSSL engine.