diff --git a/python-xmlschema.spec b/python-xmlschema.spec index ce57ebc9e24870911718ed1fed09aa508243fb55..137b97bc7eeabecd73a2e7356f879a0d20160eff 100644 --- a/python-xmlschema.spec +++ b/python-xmlschema.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-xmlschema -Version: 4.1.0 +Version: 4.2.0 Release: 1 Summary: An XML Schema validator and decoder License: MIT URL: https://github.com/sissaschool/xmlschema -Source0: https://files.pythonhosted.org/packages/dd/cb/dc0236ae209c924c1a7f4d3ae9d3371980beda85d1e0b5bd2d4f07372e48/xmlschema-4.1.0.tar.gz +Source0: %{pypi_source xmlschema} BuildArch: noarch %description An XML Schema validator and decoder @@ -87,6 +87,13 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Thu Oct 16 2025 zhang_jian - 4.2.0-1 +- Update package to version 4.2.0 +- Add arguments validation for schemas and validation methods (by validation contexts) +- Add block argument to XMLResource class +- Fix for substitute match in case of unexpected child +- Reduce MAX_XML_DEPTH limit to 1000 and apply it to all XMLResource instances + * Tue Jul 22 2025 Dongxing Wang - 4.1.0-1 - Update package to version 4.1.0 diff --git a/xmlschema-4.1.0.tar.gz b/xmlschema-4.1.0.tar.gz deleted file mode 100644 index cc8889ad121c3338a787509397527838a3dd1702..0000000000000000000000000000000000000000 Binary files a/xmlschema-4.1.0.tar.gz and /dev/null differ diff --git a/xmlschema-4.2.0.tar.gz b/xmlschema-4.2.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..801f7ed91fcea9481d9412a3e3ebfd6b9b02fd97 Binary files /dev/null and b/xmlschema-4.2.0.tar.gz differ