* 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=56
- 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)
OBS-URL: https://build.opensuse.org/request/show/1184891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=24
* 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)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=49
- Update to 2.1.0:
* Add to_etree() to document API
* Improve generic encoding with wildcards
* Clean document API and schema decoding
- Update to 2.0.4:
* Add use_location_hints argument to document API for giving the option
of ignoring XSI schema locations hints
* Fix import from locations hints with namespace mismatch (issue #324)
- Update to 2.0.3:
* Add keep_empty and element_hook options to main iter_decode() method
* Fix default namespace mapping in BadgerFishConverter
* Fix type restriction check if restricted particle has maxOccurs==0 (issue #323)
- Update to 2.0.2:
* Fix XSD 1.1 assertions effective scope
* Add support for Python 3.11
- Update to 2.0.1:
* Remove warnings during the build of the package using package_data specs in setup.py
* Fix decoding with process_namespaces=False and xsi:type in XML instance
* Refactor DataElement.get(), restore DataElement.set() (issue #314)
* Add map_attribute_names argument to DataElementConverter
- Update to 2.0.0:
* Refactor XPath interface for the full XPath node implementation of elementpath v3.0
* Fix BadgerFishConverter with mixed content (issue #315)
* Improve get() and set() of DataElement (issue #314)
- Update to 1.11.3:
* Fix invalid element not detected with empty particle (issue #306)
* Fix Sphinx warnings (issue #305)
- Update to 1.11.2:
* Fix 'replace_existing' argument usage in XsdElement.get_binding method (issue #300)
* Add Russian full translation (from PR #303 and #304)
OBS-URL: https://build.opensuse.org/request/show/1006866
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=35
* 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 #273
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=34
- 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
- update to 1.8.0:
* Refactor XMLSchemaMeta deprecating BUILDER attribute
* Extend type annotations to package API
* Add static typing tests with checked mypy runs
* Activate mypy checks for package
* Fix for issues #257 and #259
* Make XSD annotation parsing lazy
* Add lazy annotations to schema instances
* Add get_annotation() method to multiple-facets classes (issue #255)
- drop remove_shebang.patch (upstream)
OBS-URL: https://build.opensuse.org/request/show/934627
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=15
* 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
- update to 1.8.0:
* Refactor XMLSchemaMeta deprecating BUILDER attribute
* Extend type annotations to package API
* Add static typing tests with checked mypy runs
* Activate mypy checks for package
* Fix for issues #257 and #259
* Make XSD annotation parsing lazy
* Add lazy annotations to schema instances
* Add get_annotation() method to multiple-facets classes (issue #255)
- drop remove_shebang.patch (upstream)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=33
* 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)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=32
- 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)
OBS-URL: https://build.opensuse.org/request/show/894173
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=13
* 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)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=30
- 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.
OBS-URL: https://build.opensuse.org/request/show/875850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=11
* 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=26
- Update to 1.3.1.
- mainly accepting patches etree_import_in_tests.patch,
factory_tests.patch, location_testing_script.patch, which are thus
removed.
- Add the upstream etree_import_in_tests.patch to fix
gh#sissaschool/xmlschema#210.
- 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
- 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
OBS-URL: https://build.opensuse.org/request/show/847574
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=10
- Add skip_network_tests.patch to skip test
test_export_remote__issue_187 which fails without the network
connection (gh#sissaschool/xmlschema#206).
- 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().'
OBS-URL: https://build.opensuse.org/request/show/841053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=9
- 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().'
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=17
* Add ColumnarConverter class
* Add command-line interface utility for document API
* Fix a stable public API for XSD types, elements and attributes
* Add security modes for accessing URLs
* Clean component parsing
* Fix namespace loading for chameleon schemas
* Fix UPA checks with nested choice/all models
- Install new binaries
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=13
* Improved XPath 2.0 bindings
* Added logging for schema initialization and building (handled with argument loglevel)
* Update encoding of collapsed contents with a new model based reordering method
* Removed XLink namespace from meta-schema (loaded from a fallback location like XHTML)
* Fixed half of failed W3C instance tests (remain 255 over 15344 tests)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=3
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.