10.4. Concepts and Observations
Creating a simple type is easy. Nonetheless, there are a few things to consider when creating a new simple type. This section covers adding constraining facets to simple types, noting the lack of non-instantiable simple types, specifying the scope of simple types, and blocking of simple types.
Each simple type has a value space and a lexical space. Furthermore, every value in the value space has a canonical lexical representation. This section covers these concepts.
10.4.1. Constraining Facets
The Schema Recommendation limits the use of constraining facets to simple types. Constraining facets enforce additional restrictions to a simple type derived directly or indirectly from a built-in datatype.
Get XML Schema Complete Reference, The now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.