- The defusedxml seems to be unmaintained and has some problems
with the ElementTree loading
- Replaced by a safe XMLParser that forbids entities processing
- Added namespaces argument to etree_tostring helper method.
- Refactored validator error string representation.
- Moved namespaces argument at last position for methods validate
and iter_errors of class ValidationMixin.
- Fixed document validate API and added tests for it
- This is a more safer test for Element objects for this package, because it
also checks that the argument is not an instance of ElementPathMixin class
- Add tests for fetch_schema_locations and load_xml_resource functions
- Updated and revised documentation
- Code cleaning (iter_encode and iter_decode args)
- to_json() and from_json() module functions
- New tests for module level API
- Updated XsdAnyElement.iter_children_decode(): now returns couples
(None, child) if the child element is not decodable/validatable.
- Updated XsdGroup.iter_decode: if not all the child are validated by
the model report an error and perform a raw decoding.
- XsdGrup.raw_validation() renamed to XsdGroup.iter_raw_decode().
XsdComponent.__repr__() now use prefixed_name instead of name in order
to provides more readable output.
XsdAnyElement now has a custom __repr__ method.
- Related to residual emptiable content parsing of a top level
group of a sequence
- The patch code have to be moved to XsdGroup
- Added a case for the issue
Some refactoring to XsdComponent: target_namespace, namespace and maps
are trasformed to @property functions.
Update documentation for pass doctests.
- 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)
* Default converter (the format used by the package before)
* Converters for JsonML, Parker, Badgerfish and Abdera conventions
* Update of the documentation
* Documentation extended
* Docuemtation examples now are tested with doctest
* Improved tests for XPath, validation and decoding
* The collection.xsd example schema has been extended
* Removed the exception XMLSchemaBaseValidatorError
* Now XMLSchemaValidationError is the parent class of
decode/encode exceptions