This will not be as easy as I initially thought, and it seems to have uncovered another bug in the lxml python library (or libxml2 C library) related to the use of https: in <include>
G:\>python 1include-test.py
Traceback (most recent call last):
File "G:\include-test.py", line 37, in <module>
my_schema=etree.XMLSchema(s)
File "src\lxml\xmlschema.pxi", line 88, in lxml.etree.XMLSchema.__init__
lxml.etree.XMLSchemaParseError: Element '{http://www.w3.org/2001/XMLSchema}include': Failed to load the document 'https://www.iana.org/assignments/xml-registry/schema/patch-ops.xsd' for inclusion., line 3
This will not be as easy as I initially thought, and it seems to have uncovered another bug in the lxml python library (or libxml2 C library) related to the use of https: in <include>
Yields an error