fa77e73a70
Accepting request 1224433 from devel:languages:python
Ana Guerrero2024-11-17 15:39:38 +00:00
544135473b
- Update to 3.4.3 * Fix incorrect validation error for substitution group with abstract head (issue #417) * Refactor XSD identities processing using also typed XPath 2.0+ for getting values (issue #418) * Clean tag retrieval during encode for some converter types (Abdera, BadgerFish and GData)
Markéta Machová2024-11-15 11:55:48 +00:00
abc8dcb82f
Accepting request 1224392 from home:glaubitz:branches:devel:languages:python
Markéta Machová2024-11-15 11:55:48 +00:00
dda0598a9c
Accepting request 1201708 from devel:languages:python
Ana Guerrero2024-09-18 13:26:13 +00:00
2db3b7cf11
Accepting request 1201708 from devel:languages:python
Ana Guerrero2024-09-18 13:26:13 +00:00
a65e967820
- Update to 3.4.2 * Extended ModelVisitor to make it usable as an helper class for generating content * Fix failing URL normalization tests * Disable protocols checking with elementpath v4.5.0 * Avoid the use of sys.version_info for checking results, better to extend the check to more values. - Drop support-new-python-3.12.patch, fixed upstream
Markéta Machová2024-09-18 06:12:55 +00:00
cc352b3472
Accepting request 1201707 from home:mcalabkova:branches:devel:languages:python
Markéta Machová2024-09-18 06:12:55 +00:00
621c17aea4
- Add patch support-new-python-3.12.patch: * Support pickle exception changes in Python 3.12.5 and later.
Steve Kowalik2024-08-26 02:42:57 +00:00
373cb78b99
- Add patch support-new-python-3.12.patch: * Support pickle exception changes in Python 3.12.5 and later.
Steve Kowalik2024-08-26 02:42:57 +00:00
83274a4ff9
- update to 3.3.1: * Update validation errors with logging stacktrace in debug mode * Improve locations parsing and URL encoding * Rewrite the validation of openContent using InterleavedModelVisitor and SuffixedModelVisitor * Fix validation of XSD 1.1 'all' nested models * Improve ModelVisitor and particle occurs checking * Fix interleave mode with XSD 1.1 open content (issue #397) * Fix for export/download of XSD sources with commented-out imports/include (issue #387) * Add *download_schemas()* to package API (#387) * Fix issue with facets on list types (#396) * Add GData converter (issue #388/PR #391) * Fix typing protocols usage * Extend XSD annotations parsing (issue #366) * Use XPath subtree as fragment for xs:assert (issue #386) * Fix in XMLSchemaProxy definition and usage for providing a base-uri to schema nodes (issue #379) * Module xpath.py splitted to a subpackage for including all the custom XPath 1.0/2.0 parsers and related classes to XPath * Add support for Python 3.13 (pre-releases) * Hotfix release for broken requirement * Set python-requires metadata to >=3.8 (pull request #382) * Upgrade GitHub Actions (pull request #381) * XML declaration processing option *xmlns_processing* for converters * Decode/validate from XML document with dynamic schema load * XMLResource enhancement for a better XML resources processing * Improve lazy resources iteration removing preceding elements (*thin_mode* option)
Dirk Mueller2024-07-02 14:53:42 +00:00
61d1cfe84e
- update to 3.3.1: * Update validation errors with logging stacktrace in debug mode * Improve locations parsing and URL encoding * Rewrite the validation of openContent using InterleavedModelVisitor and SuffixedModelVisitor * Fix validation of XSD 1.1 'all' nested models * Improve ModelVisitor and particle occurs checking * Fix interleave mode with XSD 1.1 open content (issue #397) * Fix for export/download of XSD sources with commented-out imports/include (issue #387) * Add *download_schemas()* to package API (#387) * Fix issue with facets on list types (#396) * Add GData converter (issue #388/PR #391) * Fix typing protocols usage * Extend XSD annotations parsing (issue #366) * Use XPath subtree as fragment for xs:assert (issue #386) * Fix in XMLSchemaProxy definition and usage for providing a base-uri to schema nodes (issue #379) * Module xpath.py splitted to a subpackage for including all the custom XPath 1.0/2.0 parsers and related classes to XPath * Add support for Python 3.13 (pre-releases) * Hotfix release for broken requirement * Set python-requires metadata to >=3.8 (pull request #382) * Upgrade GitHub Actions (pull request #381) * XML declaration processing option *xmlns_processing* for converters * Decode/validate from XML document with dynamic schema load * XMLResource enhancement for a better XML resources processing * Improve lazy resources iteration removing preceding elements (*thin_mode* option)
Dirk Mueller2024-07-02 14:53:42 +00:00
60ea2ec8b9
- update to 2.2.0: * Refine string serialization of XML resources and data elements * Switch to use elementpath v4 * Fix sequence_type property for XSD types * Remove *XsdElement.get_attribute()*: unused and doesn't work as expected
Dirk Mueller2023-02-10 12:46:57 +00:00
e394c7e5d5
- update to 2.2.0: * Refine string serialization of XML resources and data elements * Switch to use elementpath v4 * Fix sequence_type property for XSD types * Remove *XsdElement.get_attribute()*: unused and doesn't work as expected
Dirk Mueller2023-02-10 12:46:57 +00:00
f04f163a6d
Accepting request 1007722 from devel:languages:python
Richard Brown2022-10-04 18:37:16 +00:00
0d43421855
Accepting request 1007722 from devel:languages:python
Richard Brown2022-10-04 18:37:16 +00:00
01a7b2cf4b
- update to 2.1.1: * Fix *schema_path* usage in XMLSchemaBase.iter_errors() * Add *allow_empty* option to XMLSchemaBase validation API
Dirk Mueller2022-10-03 16:12:34 +00:00
e97120647a
- update to 2.1.1: * Fix *schema_path* usage in XMLSchemaBase.iter_errors() * Add *allow_empty* option to XMLSchemaBase validation API
Dirk Mueller2022-10-03 16:12:34 +00:00
462d060070
Accepting request 1006884 from devel:languages:python
Richard Brown2022-10-01 15:42:42 +00:00
766b5df9d9
Accepting request 1006884 from devel:languages:python
Richard Brown2022-10-01 15:42:42 +00:00
00838e79c5
Accepting request 1006866 from home:favogt:branches:devel:languages:python
Dirk Mueller2022-09-29 09:20:44 +00:00
41621e586a
Accepting request 1006866 from home:favogt:branches:devel:languages:python
Dirk Mueller2022-09-29 09:20:44 +00:00
a3c3f763ff
- update to 1.9.2: * Fix for global simple type naming * Improve error reporting for encoded data * Fix attribute duplicates in attribute group * Add process_skipped optional argument to decoding/encoding * Add iter_decode() to document level API * Enhance XMLResource class adding usage of pathlib.Path objects for source and base_url arguments * Fix for issue #273Dirk Mueller2022-01-03 12:40:58 +00:00
c18b468474
- update to 1.9.2: * Fix for global simple type naming * Improve error reporting for encoded data * Fix attribute duplicates in attribute group * Add process_skipped optional argument to decoding/encoding * Add iter_decode() to document level API * Enhance XMLResource class adding usage of pathlib.Path objects for source and base_url arguments * Fix for issue #273Dirk Mueller2022-01-03 12:40:58 +00:00
a8c88277fb
- update to 1.8.2: * Fix type annotation of XMLSchema source argument * Near compliance with strict type annotations * Removed ModelGroup class, merged with XsdGroup * Some optimizations and fixes from static analysis
Dirk Mueller2021-11-29 20:28:08 +00:00
3e2a0a6cc5
- update to 1.8.2: * Fix type annotation of XMLSchema source argument * Near compliance with strict type annotations * Removed ModelGroup class, merged with XsdGroup * Some optimizations and fixes from static analysis
Dirk Mueller2021-11-29 20:28:08 +00:00
31038ebbae
- update to 1.6.4: * Add testing config for Python 3.10 (Tox and CI) * Fix internal _PurePath class with Python 3.10 (issue #251) * Remove redundant xmlns="" declaration when encoding with lxml (issue #252) * Refactor normalize_url() using pathlib.PurePath * Support UNC paths (issue #246) * Fix API docs (issue #248) * Fix for issue #245 (key/keyref with dynamic types) * Change default decoding of mixed content with only text to a string instead of a dictionary (issue #242)
Dirk Mueller2021-06-17 21:25:21 +00:00
5d86457de6
- update to 1.6.4: * Add testing config for Python 3.10 (Tox and CI) * Fix internal _PurePath class with Python 3.10 (issue #251) * Remove redundant xmlns="" declaration when encoding with lxml (issue #252) * Refactor normalize_url() using pathlib.PurePath * Support UNC paths (issue #246) * Fix API docs (issue #248) * Fix for issue #245 (key/keyref with dynamic types) * Change default decoding of mixed content with only text to a string instead of a dictionary (issue #242)
Dirk Mueller2021-06-17 21:25:21 +00:00
92df753903
- update to 1.6.1: * Add multi-source initialization and add_schema() to schema class * Add bytes strings to accepted XML sources (issue #238) * XML data bindings and code generators are now considered stable * Add arguments 'max_depth' and 'extra_validator' to validation methods * Enhance decoding with 'value_hook' argument * Remove unnecessary bindings with schema proxy from ElementPathMixin to avoid conflicts when schema is used by an XPath 3 parser * Fix schema logger (issue #228)
Dirk Mueller2021-05-18 22:34:01 +00:00
9c24402c5a
- update to 1.6.1: * Add multi-source initialization and add_schema() to schema class * Add bytes strings to accepted XML sources (issue #238) * XML data bindings and code generators are now considered stable * Add arguments 'max_depth' and 'extra_validator' to validation methods * Enhance decoding with 'value_hook' argument * Remove unnecessary bindings with schema proxy from ElementPathMixin to avoid conflicts when schema is used by an XPath 3 parser * Fix schema logger (issue #228)
Dirk Mueller2021-05-18 22:34:01 +00:00
c0a1eb3809
- update to 1.5.2: * Improve empty content checking * Fix simple content restriction of xs:complexType * Fix facets retrieving for xs:complexType with simple content
Dirk Mueller2021-04-22 19:44:31 +00:00
3a0e47a5e7
- update to 1.5.2: * Improve empty content checking * Fix simple content restriction of xs:complexType * Fix facets retrieving for xs:complexType with simple content
Dirk Mueller2021-04-22 19:44:31 +00:00
5e5649f509
Accepting request 875850 from devel:languages:python
Richard Brown
2021-03-05 12:45:02 +00:00
e511adf01b
Accepting request 875850 from devel:languages:python
Richard Brown
2021-03-05 12:45:02 +00:00
74477617b9
- Update to 1.5.1: * Optimize NamespaceView read-only mapping * Add experimental XML data bindings with a DataBindingConverter * Add experimental PythonGenerator for static codegen with Jinja2 * Add DataElement class for creating objects with schema bindings * Add DataElementConverter for decode to structured objects * Add an experimental abstract base class for building jinja2 based code generators (jinja2 as an optional dependency) * Add decoding of binary datatypes (xs:hexBinary and xs:base64Binary) * Fix encoding from string values for some builtin datatypes (decimal, binary, duration and datetime) * Include the pull request #220 (fix xml.etree import) * Additional tests for schema components * Fix for issues #213, #214, #215 and #218 * Code cleaning and optimizations on schema components * Reducing and grouping helper functions - Update remove_shebang.patch to also drop the shebang from a second file.
Steve Kowalik2021-03-01 04:04:46 +00:00
139b22290a
- Update to 1.5.1: * Optimize NamespaceView read-only mapping * Add experimental XML data bindings with a DataBindingConverter * Add experimental PythonGenerator for static codegen with Jinja2 * Add DataElement class for creating objects with schema bindings * Add DataElementConverter for decode to structured objects * Add an experimental abstract base class for building jinja2 based code generators (jinja2 as an optional dependency) * Add decoding of binary datatypes (xs:hexBinary and xs:base64Binary) * Fix encoding from string values for some builtin datatypes (decimal, binary, duration and datetime) * Include the pull request #220 (fix xml.etree import) * Additional tests for schema components * Fix for issues #213, #214, #215 and #218 * Code cleaning and optimizations on schema components * Reducing and grouping helper functions - Update remove_shebang.patch to also drop the shebang from a second file.
Steve Kowalik2021-03-01 04:04:46 +00:00
500dc54ae4
- Update to 1.3.1. - mainly accepting patches etree_import_in_tests.patch, factory_tests.patch, location_testing_script.patch, which are thus removed.
Matej Cepl2020-11-10 13:51:01 +00:00
51ebcbad01
- Update to 1.3.1. - mainly accepting patches etree_import_in_tests.patch, factory_tests.patch, location_testing_script.patch, which are thus removed.
Matej Cepl2020-11-10 13:51:01 +00:00
80adc55baf
- Add the upstream etree_import_in_tests.patch to fix gh#sissaschool/xmlschema#210.
Matej Cepl2020-11-10 07:14:36 +00:00
1550923db1
- Add the upstream etree_import_in_tests.patch to fix gh#sissaschool/xmlschema#210.
Matej Cepl2020-11-10 07:14:36 +00:00
89a32e9a2c
- Add patches - factory_tests.patch rename tests_factory to tests so it is not recognized by pytest - remove_shebang.patch just cleaning superfluous shebang - location_testing_script.patch use actual Python executable
Matej Cepl2020-11-09 19:32:34 +00:00
a7ebc867d9
- Add patches - factory_tests.patch rename tests_factory to tests so it is not recognized by pytest - remove_shebang.patch just cleaning superfluous shebang - location_testing_script.patch use actual Python executable
Matej Cepl2020-11-09 19:32:34 +00:00
a646dc083c
- Update to 1.3.0: - Drop support for Python 3.5 - Add XmlDocument and Wsdl11Document classes - Refactoring of XMLResource to support ElementTree-like XPath API on both full and lazy modes - Remove skip_network_tests.patch
Matej Cepl2020-11-09 15:50:31 +00:00
77da7459e7
- Update to 1.3.0: - Drop support for Python 3.5 - Add XmlDocument and Wsdl11Document classes - Refactoring of XMLResource to support ElementTree-like XPath API on both full and lazy modes - Remove skip_network_tests.patch
Matej Cepl2020-11-09 15:50:31 +00:00
dfae7bfecf
- Add skip_network_tests.patch to skip test test_export_remote__issue_187 which fails without the network connection (gh#sissaschool/xmlschema#206).
Matej Cepl2020-10-11 16:19:54 +00:00
5bce91a417
- Add skip_network_tests.patch to skip test test_export_remote__issue_187 which fails without the network connection (gh#sissaschool/xmlschema#206).
Matej Cepl2020-10-11 16:19:54 +00:00
2f1d02ba8f
- Update to 1.2.5: - All W3C tests now run successful. Only W3C tests for unavailable features (XML 1.1) or unimplemented features (dynamic schema load) are still failing. This release requires elementpath v2.0.x. - The internal XML regular expressions parser has been moved to XPath package elementpath (v2.0.2+). From this release the regex patterns are parsed through elementpath's API translate_pattern().'
Matej Cepl2020-10-10 11:26:00 +00:00
6dadf66d6a
- Update to 1.2.5: - All W3C tests now run successful. Only W3C tests for unavailable features (XML 1.1) or unimplemented features (dynamic schema load) are still failing. This release requires elementpath v2.0.x. - The internal XML regular expressions parser has been moved to XPath package elementpath (v2.0.2+). From this release the regex patterns are parsed through elementpath's API translate_pattern().'
Matej Cepl2020-10-10 11:26:00 +00:00