Next
Previous
Schemas as Syntactic Types
- XML does provide a process semantics model of itself: the Infoset data model.
- To add types to that model, you have to process through it through a schema such as W3C XML
Schema.
- W3C XML Schema allows an XML document to be transformed into a typed Infoset (Part 2: Data Types) that obeys a set of structural constraints (Part 1: Structures), the Post-Schema Validation Infoset.
- Although much more elegant formal models exist out there (XDuce, RELAX NG), determinism gets you only one type, and through annotations we can add processing information.
- Binding Example Schema Fragment