- 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 custom parser for assertion facet (without position() and last()).
- Move parser initialization to XsdAssert.parse_xpath_test() because
all the components must be defined.
- 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
- Additional options (--xsd10, --xsd11, --valid, --invalid, a
list of indexes) to run only a subset of the W3C tests.
- Run also XML tests with --xml option.
- Add filter for import warnings that are out of the scope of
tests with W3C XSD 1.1 suite
- 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
- 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
- Added check on type matching of same elements
- Added XsdGroup.check_particles() for check Unique Particle Attribution
Constraint of schema
- Fixed group redefine (clear in any case when _parse begins)