Hi there,

I am using this code

https://github.com/xml-director/xmldirector.demo/blob/master/xmldirector/demo/demo/xsd_bench.py

for benchmarking the XSD parsing speed against some variants of the MODS schema.

mods-3-1.xsd and mods-3-2.xsd take about 15 seconds for parsing while the other variants
parser in less than 0.3 seconds.

How can one explain this huge difference?

Andreas

----

mods-3-1.xsd

0.00209999084473

15.2129580975

--------------------------------------------------------------------------------

mods-3-2.xsd

0.00260806083679

15.2835290432

--------------------------------------------------------------------------------

mods-3-3.xsd

0.00289702415466

0.300955057144

--------------------------------------------------------------------------------

mods-3-4.xsd

0.00385713577271

0.313620090485

--------------------------------------------------------------------------------

mods-3-5.xsd

0.00278782844543

0.278451919556