Skip to main content
XMLDir

Search 261 pages — tools, formats, elements, namespaces, XPath, datatypes, glossary, parse errors, schema errors, use cases, blog and product.

Reference

XSD datatypes

29 entries covering the built-in types and the facets that constrain them — with every example literal put through the validator rather than asserted.

Why a value you are sure about gets rejected

Most schema failures are lexical rather than semantic. "2026-1-1" is not a date because months must be zero-padded, "1.5e3" is not a decimal because decimals have no exponent, and "True" is not a boolean because the literal is lowercase. Each page below lists what passes and what does not, both checked. Validate your own.

Numeric types · 7

Constraining facets · 6

Hit a schema error rather than a datatype question? The schema error reference is keyed by the message the validator prints.

Get started

Bring order to the XML your team can't afford to ignore.

Create a free account and get a private workspace to search, validate, diff, and monitor your XML feeds, sitemaps, schemas, and vendor integrations.