HyTime Clause 6: Base module

From ISO/IEC 10744:1992.

© International Organization for Standardization 1992. Permission to copy in any form is granted for use with conforming HyTime systems and applications as defined in ISO/IEC 10744, provided this notice is included in all copies.


6.4 HyTime document

Location address architectural forms

<!ENTITY % loc "bibloc | nameloc | dataloc | treeloc | pathloc | listloc | relloc | proploc | notloc | fcsloc">

Hyperlink architectural forms

<!ENTITY % link "clink | ilink">

Resource architectural forms: base module

<!ENTITY % resbase "activity | dvlist | desctab | lexmodel | lexord | propdef | qltn | qpn">

Resource architectural forms: measurement module

<!ENTITY % resmeas "dimspec | extent | extlist | dimref | markfun | measure">

Resource architectural forms: scheduling module

<!ENTITY % resschd "axis | exrecon | calspec | mallobj">

Resource architectural forms: rendition module

<!ENTITY % resrend "rendrule | batrule | modrule | wandrule | wndpatch | modpatch">

Resource architectural forms: all modules

<!ENTITY % resorce "(%resbase;) | (%resmeas;) | (%resschd;) | (%resrend;)">

HyBrid content (for use in content models)

<!ENTITY % HyBrid "fcs | %resorce; | HyBrid | nHyTime | #PCDATA">

HyTime document element

<!element HyDoc - O (%HyBrid;)* +(%loc; | %link;)>

<!attlist HyDoc
HyTime NAME HyDoc
boslevel NUMBER #IMPLIED
unmspace (unified | separate) separate
-- docmdu attributes --
-- common attributes -->

HyTime
HyTime architectural form
Unique value specified by standard for each element type form
boslevel
Bounding level of HyTime bounded object set when document is a hub; overridable at run time
Constraint: 0=no limit; 1=root; 2 to N
Default: application BOS
unmspace
Unified name space for IDs and entities

6.4.1 HyTime/non-HyTime bridge element

<!element HyBrid - O (%HyBrid;)* +(%loc; | %link;)>

<!attlist HyBrid HyTime NAME HyBrid
-- common attributes -->

#CONTENT
Bridge between HyTime and non-HyTime elements

6.4.2 Non-HyTime element

<!element nHyTime - O ANY>

<!attlist nHyTime HyTime NAME nHyTime
-- common attributes -->

#CONTENT
Establishes "no HyTime processing" mode for all levels of its content, except for common attributes
HyTime
Defined for nested nHyTime elements only if common attributes are defined for element type

6.5.2.1 Lexical model

<!element lexmodel - O (%HyBrid;)*>

<!attlist lexmodel
HyTime NAME lexmodel
ltn NAME #REQUIRED
lexord CDATA #IMPLIED
boundary (sodeod | sodiec | isceod | isciec | inmodel) sodeod
-- common attributes -->

ltn
Lexical type name
Constraint: unique in element type
lexord
Lexicographic ordering for comparisons
reftype(lexord)
lextype(IDREF | (RNI, "SGMLCASE"))
Default: character set order
boundary
Hit boundary constraint

6.5.2.2 Lexicographic ordering definition

Lexicographic Ordering Definition

<!element lexord - O (grapheme+)>

<!attlist lexord
HyTime NAME lexord
id ID #REQUIRED
-- common attributes -->

Grapheme comparison key

<!element grapheme - O (%HyBrid;)*>

<!attlist grapheme
HyTime NAME grapheme
gs CDATA #REQUIRED
gck NUMBERS #IMPLIED
-- common attributes -->

gs
Grapheme string (case-sensitive)
Constraint: must be unique in lexord
gck
Grapheme comparison key
Default: ignored in compare

6.5.5.2 Default value list element

<!element dvlist - O (#PCDATA)>

<!attlist dvlist
HyTime NAME dvlist
id ID #REQUIRED
dvgi NAMES #IMPLIED
preatts NAMES #IMPLIED
-- common attributes -->

#CONTENT
ulextype(attlist)
dvgi
Default value element types
Applies to all elements if omitted
lextype(GIL)
Default: all elements
preatts
Attributes whose values are to be preempted
Constraint: must be in dvlist content
Default: none

6.5.6.2 Description table

<!element desctab - O (desctxt, descdef)+>

<!attlist desctab
HyTime NAME desctab
id ID #REQUIRED
-- common attributes -->

6.5.6.3 Descriptive text

<!element desctxt O O (#PCDATA)>

<!attlist desctxt HyTime NAME desctxt
-- common attributes -->

#CONTENT
lextype(words)

6.5.6.4 Descriptive text definition

<!element descdef O O (%HyBrid;)*>

<!attlist descdef HyTime NAME descdef
-- common attributes -->

6.5.7 Activity tracking policy

<!element activity - O (%HyBrid;)*>

<!attlist activity
HyTime NAME activity
id ID #REQUIRED
actypes NAMES access
-- common attributes -->

actypes
Activity types to which policy applies
lextype(("CREATE" | "MODIFY" | "LINK" | "ACCESS" | "UNLINK" | "DELETE"), (S+, ("CREATE" | "MODIFY" | "LINK" | "ACCESS" | "UNLINK" | "DELETE"))*)

6.7.1 Property definition

<!element propdef - O (%HyBrid;)*>

<!attlist propdef
HyTime NAME propdef
pn NAME #REQUIRED
psn NAME #REQUIRED
lex CDATA #IMPLIED
inherent NAME #IMPLIED
dspec CDATA #IMPLIED
deforsyn (def | syn) def
-- common attributes -->

pn
Property name
Constraint: must be unique in property set
psn
Property set name
lextype(NOTATION)
lex
Lexical type of property if not inherent
reftype(qpn | qltn)
lextype(QPN | QLTN | ("Oo", GRPO, IDREF, GRPC))
inherent
Source of inherent property
lextype(NOTATION)
dspec
Definition of specifier for property
reftype(qpn | qltn)
lextype(QPN | QLTN | ("Oo", GRPO, IDREF, GRPC))
deforsyn
Definition or synonym?

6.7.2 Qualified property name

Qualified property name

<!element qpn - O (pn, spec?)+>

<!attlist qpn
HyTime NAME qpn
id ID #REQUIRED
-- common attributes -->

Property name

<!element pn - O RCDATA>

<!attlist pn
HyTime NAME pn
psn NAME #IMPLIED
-- common attributes -->

#CONTENT
Constraint: must be a valid property name in psn
lextype(PN)
psn
Property set name
lextype(NOTATION)
Default: fron qpnpsn

Specifier for property

<!element spec - O ((qpn | qltn)+ | pval)>

<!attlist spec HyTime NAME spec
-- common attributes -->

Qualified lexical type name

<!element qltn - O RCDATA>

<!attlist qltn
HyTime NAME qltn
lmgi NAME #IMPLIED
-- common attributes -->

#CONTENT
Constraint: must be a valid ltn of lmgi element type
lextype(LTN)
lmgi
Lexical model GI
lextype(GI)
Default: from qltnlmgi

Property value

<!element pval - O RCDATA>

<!attlist pval HyTime NAME pval
-- common attributes -->

#CONTENT
Constraint: must satisfy property

6.5 Common attributes

6.5.1 Identification attributes

<!attlist all-id
id ID #IMPLIED
notation NAME #IMPLIED
delims CDATA #IMPLIED
conloc IDREFS #CONREF
context (context | ncontext) ncontext
HyNames CDATA #FIXED "">

id
SGML unique identifier
Default: none
notation
Data content notation
Default: none
delims
Constraint: names are delimiter role names
Constraint: a given NAME can occur only once
lextype((NAME, s+, char*), (s+, NAME, s+, char*)*)
Default: not changed
conloc
Content location (if not in syntactic content)
Constraint: data or element that satisfies this element's content model, or element whose content satisfies this element's content model.
Default: syntactic content
context
Contextual content
HyNames
User names for HyTime attributes
Constraint: a given ATTNAME or #CONTENT can occur only once
lextype(ATTNAME, s+, (NAME | (RNI, "CONTENT")), (s+, ATTNAME, s+, (NAME | (RNI, "CONTENT")))*)
Default: none

6.5.2 Lexical types

<!attlist all-lex
lextype CDATA #FIXED ""
lextypgi NAMES #FIXED in-DTD>

lextype
Lexical types of attribute values or character data content
Constraint: a given ATTNAME or #CONTENT can occur only once; a qltn must be an ltn of a lexmodel whose GI is specified in lextypgi
lextype(ATTORCON, s+, QLTN, (s+, ATTORCON, s+, QLTN)*)
Default: none defined
lextypgi
Lexical model element types used by lextype
Constraint: searched in order listed; must be GIs of lexmodel form element types
lextype(GIL)

6.5.3 ID reference resolution control

<!attlist all-ref
refrange CDATA #FIXED "#ALL I"
reflevel CDATA #IMPLIED
reftype CDATA #FIXED "#ALL #ANY">

refrange
ID reference resolution range
B
Backward reference to identified local element
D
Identified local element, before or after
I
Location address allowed
X
Indirect target, external to reference
Attribute declared value or lextype is IDREF
Constraint: a given ATTNAME or #CONTENT can occur only once
lextype((RNI, "ALL", s+, ("B" | "D" | "I" | "X"))?, (s+, ATTORCON, s+, ("B" | "D" | "I" | "X"))*)
reflevel
ID reference resolution level
Level that IDREF resolution cannot exceed, relative to this element.
lextype((RNI, "ALL", s+, unzi)?, (s+, ATTORCON, s+, unzi)*)
reftype
ID reference element type
Attribute declared value or lextype is IDREF
Constraint: a given ATTNAME or #CONTENT can occur only once; types apply to locations, not to intermediate location address elements
lextype((RNI, "ALL", s+, (((GI | unzi), (s+, RNI, "SEQ")?) | (RNI, "ANY")))?, (s+, ATTORCON, s+, (((GI | unzi), (s+, RNI, "SEQ")?) | (RNI, "ANY")))*)

6.5.4 Bit combination skip count

<!attlist all-bits bitskip NUMBERS #IMPLIED>

bitskip
Number of unparsed bit combinations to skip till end of element

6.5.5.1 Default value list attributes

<!attlist all-dvl
subdvl IDREFS #IMPLIED
sibdvl IDREFS #IMPLIED>

subdvl
Subelement impliable attribute value defaults
reftype(dvlist)
Default: none
sibdvl
Sibling impliable attribute value defaults
reftype(dvlist)
Default: none

6.5.6.1 Descriptive text attributes

<!attlist all-desc
desctxt CDATA #CONREF
desctab IDREFS #CURRENT>

desctxt
Descriptive text
If specified, its descdef in desctab is treated by HyTime as the element or as its content.
lextype(words)
Default: none
desctab
Current description tables
Constraint: searched in order listed
reftype(desctab)

6.5.7 Activity tracking policy

<!attlist all-act activity IDREFS #IMPLIED>

activity
Activity tracking policy for this element
reftype(activity)
Default: none

6.7.3 Qualifying name attributes

<!attlist all-qual
qpnpsn NAMES #IMPLIED
qltnlmgi NAMES #IMPLIED>

qpnpsn
QPN property set names
Constraint: searched in order listed
lextype(NOTATION, (s+, NOTATION)*)
Default: standard sets
qltnlmgi
QLTN lexical model GIs
Constraint: searched in order listed
lextype(GIL)
Default: none used

6.6 HyTime data attributes

6.6.1 Container notation form

<!attlist #NOTATION sbento
HyTime NAME sbento
unitsize NUMBER 8
-- common data attributes -->

sbento
Standard Bento Entity for Natural Transport of Objects
Attributes of sbento data content notation type
Creates container by partitioning storage object so several entities can store data in it.
unitsize
Sbento partitioning unit (bits per unit)

6.6.2 Common data attributes

<!attlist #NOTATION any-dcn
insbento CDATA #IMPLIED
modgen NUMBERS #IMPLIED
altreps NAMES #IMPLIED
superdcn NAME #IMPLIED
template NAME #IMPLIED
methods CDATA #IMPLIED
degrade CDATA #IMPLIED
encoding NUMBERS "8 12"
HyNames CDATA #FIXED "">

any-dcn
use: sbento nHyTime
Common attributes of data content notations
Any or all can be defined for a notation. Notation-specific alternatives can be used.
insbento
Location of this entity in a sbento's storage
External identifier of entity must be same as on sbento entity so SDIF will not duplicate data
ENTITY
sbento entity in which this occurs.
Digit+
Offset in sbento units (origin 0).
Digit+
Size in sbento units.
Offset/size repeatable for segmentation.
lextype(ENTITY, (s+, digit+, s+, digit+)+)
Default: not in a sbento
modgen
Modification generation
Constraint: two numbers
1st
0 when created; incremented when modified.
2nd
Set to 1st when validated by application.
Default: not tracked
altreps
Alternative representations of this entity
Modgens can be compared for integrity checking
lextype(ENTITIES)
Default: none
superdcn
Notation from which this one is derived
lextype(NOTATION)
Default: not a derivation
template
Parsing and processing context for the entity
E.g.: macro definitions, profile, model, header, that are shared by several data entities
lextype(ENTITY)
Default: none
methods
Handlers for encapsulated data
Constraint: notation-specific format
Default: none
degrade
Degradation strategy if can't render perfectly
Constraing: notation-specific format
Default: none
encoding
Platform-dependent encoding information
Constraint: bit-combination size and "word" size, expressed as permutation of normalized word of 2, 4, or 8 bit combinations. MSB is leftmost and numbered "1"
Normalized="8 12", "8 1234", "8 12345678"
Example: Intel="8 21", "8 2143", "8 21436587"
HyNames
User names for HyTime attributes
lextype(ATTNAME, s+, NAME, (s+, ATTNAME, s+, NAME)*)
Default: none

Best viewed with any browser.

Valid HTML
2.0! Last updated and validated 31 May 2001.