- 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
- More speed on creating categories from unicodedata.category API
- JSON serialized Unicode categories now include major categories
- Delete unicode_categories.json from repo (it will be created by
install command)
* new file: xmlschema/components/constraints.py
* parsed xs:unique, xs:key and xs:keyref and subcomponents
* added '|' as reference delimiter in xpath.py tokenizer
* improved XPathParser to check operator: the base class
admits all operators, subclasses can restricts overriding
NOT_ALLOWED_OPERATORS class attribute.
* Now XMLSchemaParseError is the only exception used when
an error is found when parsing a schema
* The parsing errors are collected in schema.errors list
instead of an immediate raising and stop of the parser
* 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).
Changes to be committed:
new file: .gitignore
new file: LICENSE
new file: README.rst
new file: setup.py
new file: tests/__init__.py
new file: tests/_test_common.py
new file: tests/examples/bikes.xsd
new file: tests/examples/cars.xsd
new file: tests/examples/recursive-groups.xsd
new file: tests/examples/testfiles
new file: tests/examples/types.xsd
new file: tests/examples/vehicles-1_error.xml
new file: tests/examples/vehicles-2_errors.xml
new file: tests/examples/vehicles-3_errors.xml
new file: tests/examples/vehicles-max.xsd
new file: tests/examples/vehicles.xml
new file: tests/examples/vehicles.xsd
new file: tests/test_decoding.py
new file: tests/test_schemas.py
new file: tests/test_validation.py
new file: xmlschema/__init__.py
new file: xmlschema/builtins.py
new file: xmlschema/core.py
new file: xmlschema/etree.py
new file: xmlschema/factories.py
new file: xmlschema/parse.py
new file: xmlschema/qnames.py
new file: xmlschema/resources.py
new file: xmlschema/schema.py
new file: xmlschema/schemas/HFP/XMLSchema-hasFacetAndProperty.xsd
new file: xmlschema/schemas/XML/xml.xsd
new file: xmlschema/schemas/XSD_1.0/XMLSchema.xsd
new file: xmlschema/schemas/XSD_1.0/datatypes.xsd
new file: xmlschema/schemas/XSD_1.1/XMLSchema.xsd
new file: xmlschema/schemas/XSD_1.1/datatypes.xsd
new file: xmlschema/schemas/XSI/XMLSchema-instance.xsd
new file: xmlschema/schemas/XSLT/schema-for-xslt20.xsd
new file: xmlschema/utils.py
new file: xmlschema/validators.py