How XSD works
- W3C XML Schema
- does not operate over XML documents
XML documents are strings of characters and entity references
- assumes document has been parsed into a
“tree”
with all entities resolved (infoset)
- composed of structures (nodes)
- of named types (strings, numbers, booleans, what-have-you)
- Validating with a schema produces a PSVI
(“post-schema-validation infoset”)
- trees and their “data content”
- can be provided with labels (type annotations)
- defaults (element and attribute) added
- validity or invalidity outcomes