- Protect facets validators from type and value errors
- Add strictly_equal() helper to check fixed value equality
- Move get_instance_type() from XsdType to global maps
- Add iter_substitutes() to Xsd11Element to fix upa.xsd/upa2.xsd
tests with instances. Now for XsdElement the abstract substitutes
are simply ignored by iter_substitutes().
- Put interleave mode after model match for precedence
- Fix regex parsing of character group ending with '-'
- Fix complexType mixed content extension
- Added an additional fallback check for xs:choice groups in
Xsd11Group.is_all_restriction()
- Fixed tests for wildcards and updated the W3C test script with
total counters displayed before run
- Added XMLSchemaNamespaceError for namespace related errors
- version_check moved to schema class
- resolve_qname() now raises KeyError if namespace prefix is not found
- resolve_qname() now raises XMLSchemaNamespaceError if a namespace
is mapped with a prefix but is not loaded by an import
- Checked and improved 'built' properties for XSD components:
* Simple types, attributes and attribute group are now built
withoug cheching on base types.
* Don't check global subcomponents: the scope of built is to
assure that local parts are built.
- Split global maps checks from build phase:
* XsdGlobals._check_schema substituted by check() method with
two opional arguments. The new methos is useful also to check
global maps also after schema building.
- Added validator=None argument to parse_error() method
- Removed additional test classes added with PR #117;
- Removed additional converter argument from the calls of the
method get_converter(), that causes errors when the argument
'converter' is provided but not with an instance.
- Keep UnorderedConverter class as the default converter for
encoding unordered data
- Added 'unordered=False' option to iter_encode's arguments
- Added iter_unordered_content() and iter_collapsed_content()
to ModelVisitor class
- Added custom is_matching() and match() for XsdElement
- Removed custom match() for XsdAnyElement and XsdAnyAttribute
- Added matched_element() to XsdAnyElement
- Added matched_element() to XsdElement as match() alias
- Removed iter_elements() from XsdGroup (do not iter substitutes)
- Removed iter_subelement() from ModelGroup (use iter_elements)
- Clean converter code on some element_encode() implementations
- Default and fixed values are inserted during the decode or
encode process
- Update tox.ini to include coverage and flake8 to environments
and an optional environment to build source and wheel packages
- Added a test case and a test method for this
- Modified iter_components for XsdComplexType to also count the
base type if it's a local declaration
- Modified XsdGroup.iter_components() to yield also the redefined group