- Add loglevel argument to schema init
- Fallback location (for XLink and XHTML) moved at the
end of import tentatives (full fix for issue #137)
- Fix TestGlobalMaps after the remove of XLink from base schemas
- Fixed etree encoding checks for py2
- Fixed XSD 1.1 meta-schema restriction checking
- Set memory lazy tests to higher level (something
changed after lazy meta-schema build, need to be
checked with large XML files)
- 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
- Added facets to numerical XSD builtins but keep validator functions
- More checks on min/max value facets
- Removed HFP namespace from base schemas (used only for meta-schema wildcars)
- The issue was related to recursive complexType
- Added a test to XsdGroup.iter_components to skip iteration
of inherited items of an XsdComplexType instance
- XsdGroup.built refactored, adding also the same test added to
XsdGroup.iter_components
- XSD group references are not expanded anymore: only a reference
to the global group is saved.
- Added a billion laugh model test to prove that issue #59 does not
happens with those changes.
- Schema's base_elements dictionary removed from global maps and
transformed to a lazy property for schema classes.
- add setUpClass() method to test classes
- XMLSchemaTestCase class removed
- common test definitions are now in xmlschema/tests/__init__.py
- xmlschema/tests/_test_common.py deleted
- Fixed issues #28 and #29
- Code cleaning
- Created a "validators" subpackage that includes schemas, xsd global
maps and all the XSD components
- Added "prefixed_name" property to XsdComponent class
- Rewritten test scripts to use unitest standard interface
- Added a SchemaObserver class for impoving schema inspection
- Fixed a bug in component iter_errors() method
- Added validators and tests for date and time XSD builtins
- Documentation examples updated with Python 3
* fixed a bug in simpleContent restriction parsing for attributes
* code cleaning for schemas and resources
* XMLSchema's 'uri' attribute changed to 'url'
* created fetch_resource(), normalize_url() and get_xml_root() in
resources.py, in order to start an improvement of XML parsing
* Created a XsdBaseComponent, used both for schemas and
for XSD components
* ValidatorMixin replaces XMLSchemaValidator
* XsdComponent is now the base class of all XSD components
* new class XsdAnnotated
* Token based checks removed (the 'built' property is pretty
fast and safe)
* Removed XsdGlobals.get_globals(), replaced by NamespaceView,
a Mapping subclass that emulate a dictionary;
* Implemented a check_status for fully checking of schema
components, avoiding circularity;
* Building of XSD components improved, avoiding circularity with
the lazy building of XsdElement instances in the groups.
* Added test files for decoder (examples/decoder/*);
* Added a variant of test schema vehicles.xsd (examples/vehicles/vehicles2.xsd);
* Added XPath filter predicates;
* Fixed empty dict decoding to None (issue #4).
* Bugfix for whiteSpace='collapse' in normalize function;
* Added a cache for global maps views;
* The views for each namespace are mapped from local names.