- Add module xmlschema.limits for store processing limits
- Add max_depth optional argument to decode methods
- Code cleaning for iter_decode() kwargs (elements and groups)
- 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
- Created test_factory subpackage
- Avoid test discovery duplications
- Added tests into test_cases dir for default discover
- Grouped validation and validators tests in two dirs
- Add lossy property as a replace for lossless (not lossy)
- replace _unmap_attribute_qname() with unmap_prefixed()
- Add deprecation warnings for old methods
- Resolves #69
This approach allows strict encoding and validation of an unordered
dictionary without having to handle errors.
- Can generate correct xml for repeated sequences of multiple elements:
{"A": [1, 2], "B": [3, 4]} -> <A>1</A><B>3</B><A>2</A><B>4</B>
- VisitorConverter raises an Exception if the data being encoded
contains cdata. The unordered processing of the dict means character
data may not be placed in the correct locations.
- Reuses existing encoding tests.
- 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
- The defusedxml seems to be unmaintained and has some problems
with the ElementTree loading
- Replaced by a safe XMLParser that forbids entities processing
- Added XsdAssertionsFacet: based on MutableSequence like XsdPatternsFacet
- Fixed a typo in XsdPatternsFacet.__setitem__
- Started development of release v1.0.7
- Tests for lazy import of defusedxml library for mitigate the issue #80
- Added versioning links to CHANGELOG
- Removed test_etree.py (tests added to test_package.py)
- 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