[html]

Defining Simple Types

R. Alexander Milowski

milowski at sims.berkeley.edu

#1

Simple Types

#2

Values

#3

Primitive vs. Derived

Definition 1:

A primitive datatype are those which are not defined in terms of other datatypes (i.e. ab initio).

Definition 2:

A derived datatype are those defined in terms of other datatypes.

Primitive types: string, boolean, decimal, float, double, duration, dateTime, time, date, gYearMonth, gYear, gMonthDay, gDay, gMonth, hexBinary, base64Binary, anyURI, QName, NOTATION

#4

Fundamental Facets

#5

Constraining Facets

#6

Type Derivation by Restricting

#7

Range Restrictions

#8

Length Restrictions

#9

Digit Restrictions

#10

Whitespace Restrictions

#11

Enumerated Value Restrictions

#12

Combining Restrictions

#13

Pattern Restrictions

#14

Regular Expressions - Quick Tour

#15

Regular Expressions - Character Classes & Escapes

#16

Regular Expressions - Block Escapes

#17

Regular Expressions - Quantifiers

#18

Regular Expressions - Examples

#19

Atomic Values and Types

#20

List Simple Types

#21

List Simple Types - Inlining Types

#22

Union Simple Types

#23

String-based Built-ins

#24

Unbounded Integer Built-ins

#25

Bounded Integer Built-ins

#26

Bounded Unsigned Integer Built-ins

#27

Floating Point

#28

Miscellaneous Types

#29

Dates, Times, and Durations

#30

Dates & Times

#31

Durations

#32

Date Parts