From 9b6d703e667fa640123c8603816e379a2d465069 Mon Sep 17 00:00:00 2001 From: Marko Ristin Date: Wed, 14 Feb 2024 20:16:07 +0100 Subject: [PATCH] Release 1.0.1 * Test and fix for text attached to end XML elements (#18). This patch fixes for the edge case where ElementTree's ```XMLPullParser`` attaches the text to the end element instead of the start element. Previously, some XML files were wrongly reported as incorrect. We do not know what causes this different behavior of the parser, but suspect that it has something to do with the size of the parser's buffer. --- aas_core3/__init__.py | 2 +- docs/source/changelog.rst | 13 +++++++++++++ setup.py | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/aas_core3/__init__.py b/aas_core3/__init__.py index 5eaceb0d..16c9fa2b 100644 --- a/aas_core3/__init__.py +++ b/aas_core3/__init__.py @@ -1,7 +1,7 @@ """Manipulate, verify and de/serialize Asset Administration Shells.""" # Synchronize with __init__.py and changelog.rst! -__version__ = "1.0.0" +__version__ = "1.0.1" __author__ = "Marko Ristin" __copyright__ = "2024 Contributors to aas-core3.0-python" __license__ = "License :: OSI Approved :: MIT License" diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index a07f63b0..26415a7a 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -2,6 +2,19 @@ Change Log ********** +1.0.1 (2024-02-14) +================== +* Test and fix for text attached to end XML elements (#18). + + This patch fixes for the edge case where ElementTree's + ```XMLPullParser`` attaches the text to the end element instead of + the start element. Previously, some XML files were wrongly reported + as incorrect. + + We do not know what causes this different behavior of the parser, + but suspect that it has something to do with the size of the parser's + buffer. + 1.0.0 (2024-02-02) ================== This is the first stable release. The release candidates stood diff --git a/setup.py b/setup.py index 32950250..7a932e85 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ setup( name="aas-core3.0", # Synchronize with __init__.py and changelog.rst! - version="1.0.0", + version="1.0.1", description="Manipulate, verify and de/serialize Asset Administration Shells.", long_description=long_description, url="https://github.com/aas-core-works/aas-core3.0-python",