About this project

An XSD 1.1 processor for Go providing schema parsing, instance validation (XML, JSON, BER), XPath 2.0, and Go code generation. The project is in early development with architecture and package contracts committed; implementations progress milestone by milestone. Current capabilities include parsing XSD 1.1 schemas (handling imports, includes, redefines) into an immutable component model, validating XML instances with exact error locations and spec rule IDs, and generating type-safe Go marshalling code with minimal allocations. Two value backends are provided: 'strict' (spec-exact) and 'native' (Go-friendly), with support for custom backends. The CLI offers 'parse' and 'validate' commands (XML validation only); 'gen' is planned. Library usage for seeding builtins, parsing, and XML validation is functional. Conformance is tracked against the W3C test suite with a regression ratchet.