and via lxml's validation as well (done from the same directory as the POC tarball):
[bts@cylon testxml]$ python
Python 3.7.4 (default, Oct 4 2019, 06:57:26)
[GCC 9.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import base
>>> import XSD
>>> xsd = XSD.XSD()
>>> xml = base.XML()
>>> xsd.isValid(xml)
True
Sorry; worth noting that the XSD and XML validate per xmllint(1):
[bts@cylon testxml]$ xmllint --noout --schema test.xsd test.xml
test.xml validates
and via lxml's validation as well (done from the same directory as the POC tarball):
[bts@cylon testxml]$ python
Python 3.7.4 (default, Oct 4 2019, 06:57:26)
[GCC 9.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import base
>>> import XSD
>>> xsd = XSD.XSD()
>>> xml = base.XML()
>>> xsd.isValid(xml)
True