Download Addendum for Extensible Types

Transcript
Contents
1
Introduction ............................................................................................................1
2
Type Safety and System Evolution.....................................................................2
2.1 Defining Extensible Types .......................................................................................................3
2.2 Verifying Type Consistency: Type Assignability..................................................................4
2.3 Type-Consistency Enforcement ..............................................................................................7
2.3.1 Rules For Type-Consistency Enforcement ..................................................................7
2.4 Notification of Inconsistencies: INCONSISTENT_TOPIC Status......................................8
2.5 Built-in Topics............................................................................................................................8
3
Type System Enhancements ................................................................................9
3.1 Structure Inheritance ................................................................................................................9
3.2 Optional Members ..................................................................................................................10
3.2.1 Defining Optional Members .......................................................................................10
3.2.2 Using Optional Members in an Application ............................................................10
4
Data Representation ............................................................................................16
5
Type Representation............................................................................................16
5.1 XML and XSD Type Representations...................................................................................17
iii