Cover
Contents
Foreword
Introduction
1 Scope
2 Normative references
3 Terms, definitions, and abbreviated terms
3.1 Terms and definitions
3.2 Abbreviated terms
4 Exchange structure fundamental concepts and assumptions
4.1 Introduction
4.2 Notational and typographical conventions
4.3 Conformance
5 Formal definitions
5.1 Formal notation
5.2 Basic alphabet definition
5.3 Exchange structure
5.4 Definition of tokens
5.5 WSN of the exchange structure
5.6 Token separators
6 Tokens
6.1 Token types
6.2 Special tokens
6.3 Keywords
6.4 Simple data type encodings
6.4.1 Integer
6.4.2 Real
6.4.3 String
6.4.4 Occurrence names
6.4.5 Enumeration values
6.4.6 Binary
6.5 Anchor, reference and signature section encodings
6.5.1 Resource
6.5.2 Universal Resource Identifier(URI)
6.5.3 URI Fragment identifier
6.5.4 Anchor name
6.5.5 Tag name
6.5.6 Base64
7 Structured data types
7.1 Parameter list
7.2 Anchor item list
8 Header section
8.1 Header section structure
8.2 Header section declarations
8.2.1 header section schema
8.2.2 file_description
8.2.3 file_name
8.2.4 file_schema
8.2.5 schema_population
8.2.6 file_population
8.2.7 section_language
8.2.8 section_context
8.3 User-defined header section entities
9 Anchor section
9.1 Anchor section structure
9.2 Anchor item
9.2.1 Anchor item defined by an entity instance name
9.2.2 Anchor item defined by a value instance name
9.2.3 Anchor item defined by a simple type
9.2.4 Anchor item defined by a null_value ("$")
9.2.5 Anchor item defined by a list structure
9.2.6 Anchor item defined by a resource
9.2.7 Anchor item defined by an EXPRESS constant
9.2.8 Anchor item with tags
10 Reference section
10.1 Reference section structure
10.2 Reference to a URI
10.2.1 reference to a URI without a fragment identifier
10.2.2 reference to a URI with a fragment identifier defined by a UUID
10.2.3 reference to a URI that is only a fragment identifier and is not a UUID
10.2.4 reference to an exchange structure in another format
10.2.5 reference to a URI fragment that resolves to an entity instance
10.2.6 reference to a URI fragment that resolves to a value
10.2.7 reference to a URI fragment that is an entity instance name
11 Data sections
11.1 Data section structure
11.2 Data section entity instances
11.3 Data section user-defined entity instances
12 Mapping from EXPRESS to the exchange structure
12.1 Mapping of EXPRESS data types
12.1.1 Mapping of EXPRESS simple data types
12.1.2 List
12.1.3 Array
12.1.4 Set
12.1.5 Bag
12.1.6 Simple defined types
12.1.7 Enumeration
12.1.8 Select data types
12.2 Mapping of EXPRESS entity data types
12.2.1 Mapping of a simple entity instance
12.2.2 Mapping of OPTIONAL explicit attributes
12.2.3 Mapping of derived attributes
12.2.4 Mapping of attributes whose values are entity instances
12.2.5 Entities defined as subtypes of other entities
12.2.6 Explicit attributes redeclared as DERIVEd
12.2.7 Attributes redeclared as INVERSE
12.2.8 Attributes redeclared as explicit attributes
12.2.9 Entity local rules
12.2.10 Mapping of INVERSE attributes
12.2.11 Encoding of entity type names
12.3 Mapping of the EXPRESS element of SCHEMA
12.4 Mapping of the EXPRESS element of CONSTANT
12.5 Mapping of the EXPRESS element of RULE
12.6 Remarks
13 Printed representation of exchange structures
14 Signature sections
14.1 Signature section structure
Annex A (normative) File representation on storage media
A.1 Record-oriented transport content
A.1.1 Transport format for magnetic tape media
A.1.2 Other storage media with record-oriented storage
A.2 Line-oriented transport content
A.2.1 Transport format for diskette media
A.2.2 Other media
A.3 Treatment of multi-volume files
A.4 Transport for compressed archive content
A.5 Transport for directory content
Annex B (normative) WSN notational conventions
Annex C (normative) Information object registration
C.1 Document identification
C.2 Schema identification
Annex D (normative) Protocol Implementation Conformance Statement (PICS) proforma
D.1 Conformance statement
D.2 Conformance Class
D.3 Encodings
D.3.1 Entity instance encoding
D.3.2 Short name encoding
D.3.3 String encoding
D.3.4 Reference encoding
D.4 Implementation limits
Annex E (normative) Multiple EXPRESS schemas in an exchange structure
E.1 Reference validity
E.1.1 EXPRESS interface specification method
E.1.2 SDAI domain equivalence method
E.2 Determining population of a schema
E.2.1 Section boundary method
E.2.2 Include all compatible method
E.2.3 Include referenced instance method
Annex F (normative) ECMAScript binding for the anchor section
F.1 Introduction
F.2 Required properties of the P21 object
F.3 Anchor value mappings
F.3.1 integer mapping
F.3.2 real mapping
F.3.3 string mapping
F.3.4 enumeration mapping
F.3.5 binary mapping
F.3.6 entity instance name mapping
F.3.7 value instance name mapping
F.3.8 constant instance name mapping
F.3.9 constant value name mapping
F.3.10 null value mapping
F.3.11 anchor item list mapping
F.3.12 URI mapping
F.4 Required methods of the P21 object
F.4.1 uri() method
F.4.2 name() method
F.4.3 schema_population() method
F.4.4 set_uri() method
F.4.5 set_name() method
F.4.6 set_schema_population() method
Annex G (normative) Mapping UUIDs to anchor names
G.1 Introduction
G.2 Mapping UUID names to anchor names
Annex H (informative) Example of a complete exchange structure
H.1 Introduction
H.2 Example schema
H.3 Example short names
H.4 Example exchange structure
Annex I (informative) Example of a distributed exchange structure
I.1 Introduction
I.2 Example distributed exchange structure
Annex J (informative) Examples of EXPRESS constants to define units
J.1 EXPRESS constants for some basic units
J.2 Exchange structure usage of the EXPRESS constants
Annex K (informative) Recommended names for file types
Annex L (informative) Guidelines for printing the exchange structure
L.1 Print control directives
L.2 Explicit print control directives
L.3 Implicit print control directives
Annex M (informative) Change Log
M.1 Changes in Edition 2
M.2 Changes in Edition 3
Bibliography
Index
Tables
Table 1 - WSN defining subsets of the basic alphabet
Table 2 - WSN of token definitions
Table 3 - WSN of the exchange structure
Table 4 - String control directives
Table 5 - Quick reference mapping table
Table 6 - Print control directives
Table B.1 - Wirth Syntax Notation (WSN) defined in itself