In xml_validate.py we have...
SUPPORTED_VERSIONS = ["3.3.0", "3.3.1", "3.4.5", "4.0.0", "4.1.0", "4.2.0"]
And in utils.py
CURRENT_SCHEMA = max(SUPPORTED_VERSIONS)
I think this will have problems if the middle section reaches two digits.
The AI Overlord suggests
from packaging import version
versions = ["1.5.1", "1.10.1", "1.2.3", "2.0.0", "2.0.0b1", "1.10.1rc1"]
sorted_versions = sorted(versions, key=version.parse)
In xml_validate.py we have...
SUPPORTED_VERSIONS = ["3.3.0", "3.3.1", "3.4.5", "4.0.0", "4.1.0", "4.2.0"]And in utils.py
CURRENT_SCHEMA = max(SUPPORTED_VERSIONS)I think this will have problems if the middle section reaches two digits.
The AI Overlord suggests