- 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().
- ID are not counted for XML document root
- IDREF checked with adding a key with 0 value if missing
(TODO: Add a validation error instance or a reference)
- Modify ModelVisitor for using XSD 1.1 xs:all groups
- Remove inverted list from _subgroups item
- Use occurs to store sum of xs:all items
- Add precedences to Xsd11AnyElement for managing cases of
overlapping wildcard (overlap with an adjacent element
that also matches an item).
- 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.
- 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