- 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
- 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
- Rename XMLSchemaTestCase to XsdValidatorTestCase
- Add casepath() helper
- Modify TestResources: derive from TestCase and use casepath()
- Split test_package.py into 3 modules (added test_etree.py and
test_memory.py)
- Update .tox with new environments 'package' and 'memory'
- Replace test_package with test_etree into test_all.py script
- Modify XsdValidatorTestCase.check_schema() to use xs prefix for
XSD namespace and no namespace as targetNamespace for a fast
reuse of common and user sample cases
- 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 XsdAssertionsFacet: based on MutableSequence like XsdPatternsFacet
- Fixed a typo in XsdPatternsFacet.__setitem__
- Started development of release v1.0.7
- Added copy(), __repr__ and __str__ to XMLResource class.
- Fixed XMLResource.get_locations(): now accepts also locations
already stored into a NamespaceResourcesMap dictionary.
- XMLSchema.iter_decode now always creates an XMLResource from
the source argument.
- Fix for XMLSchema.built property: has to count all namespace globals.
- Import schemaLocation attribute can be overriden
- Re-added the --network flag to test factory arguments to skip
tests that fail if network access is not available
- Code cleaning: added documents.py for all module level API
- Now a warning message is sent to the logger for include or
for namespace import errors
- Add XMLSchemaImportWarning and XMLSchemaIncludeWarning
- Add warning attribute to schemas for collecting the message
strings about include and import warnings
- URIDict class removed (faulty with empty fragment #)
- Added --warning and --timeout to test factory arguments
- Removed --network from test factory arguments
- Avoid circularities cases using a list buffer at each level (safe mode)
- Added XMLSchema.root_elements lazy property
- Removed XMLSchema.base_elements
- Added tests for JSON serialization with all converters
- Fix for attribute decoding/encoding: now in case of XsdAnyAttribute
the value is reassigned with (name, value) instead of {name: value}
- Fixed a typo for to_dict() module API
- 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
- Modified CHANGELOG.rst
- Lookup functions rewritten and bound to global names for serialization
- Dependancy: elementpath minimal version now is 1.0.10
- cases/features/decoding/ renamed to cases/features/decoder/
- decoder/decoder.xsd renamed to decoder/simple-types.xsd
- Use namespace xmlns:xst="http://xmlschema.test/test/" for all
cases/features tests
- Added XMLSchemaTestCase base class for tests/ subpackage
- Wrote a get_testfiles() functions for tests/ subpackage in order
to reduce redundant code in other test scripts
- Added tests for encoding of simpleType's lists
Bug #58:
- Added a file for test circular model detection
Integrating defusedxml:
- defusedxml.ElementTree API loaded in etree.py
- safe load with defusedxml only for network resources
- The XPath pipe operator is parsed by the 'elementpath' package
- Configured tox.ini using the test_all.py as command
- Removed exception class XMLSchemaXPathError