You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
ParseModes.LAX_NAMESPACED combines lax value retention with namespace-aware
matching. ParseModes.STRICT and ParseModes.LAX remain available as the
explicit legacy local-name presets.
A bundled pyxsd-cli agent skill covers validation, exit statuses, stream
and output control, trusted transforms, and schema-only stub emission without
the MCP extra. Export it with python -m pyxsd.skills export pyxsd-cli DEST.
An xsdata comparison page distinguishes pyxsd's runtime schema binding from
generated dataclass workflows, with provenance for the reported W3C results.
Changed
Behavior change: namespace-aware binding is now the default. BindingPolicy(), Schema.compile(), module-level pyxsd.parse(), CLI --namespaces, and hinted MCP validation use strict namespace handling.
The API signatures are unchanged, but documents that only matched by local
name now fail namespace-aware validation unless the caller opts into legacy
behavior. Use mode=ParseModes.STRICT, mode=ParseModes.LAX, BindingPolicy(namespaces="legacy"), CLI --namespaces legacy, or MCP
compile options with namespaces="legacy" for the previous behavior.