- 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
- 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
- Now MANIFEST.in includes package data inclusions
and exclusions
- Clean test subpackage
- Test factory moved to a separated module
- Add a factory argument for checking with lxml
- SchemaObserver moved to a separated module
- Test factory now can creates tests for XMLSchema11 class
- Added several tests
- Fixed start and end expression in regex.get_python_regex():
now puts '^(' and ')$' instead of '^' and '$'.
- Fixed '.' conversion in regex.get_python_regex(): raw string
qualifier removed from string literal.
- 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
- 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
- iter_decode() and iter_encode() now have only common arguments
plus *args and **kwargs.
- Test package: rename get_schema_source() to retrieve_schema()
to avoid confusion about its usage.