Cubic behavior with RelaxNG zeroOrMore
hello all, I'm new here, pls. be tolerant with mistakes,
I observed an unusual stall with a quite simple XML file - content.xml . It's from a gnumeric spreadsheet and the content is a pile of ~4000 identical cells. With the command
/usr/bin/xmllint --noout --nonet --relaxng ./../test/ods-schema/OpenDocument-v1.2-os-schema.rng --noout content.xml
it stalls for seconds, larger files with this structure easily take hours. In contrast https://xmllint.com/ says 'All good, your XML is valid.' in fractions of a second.
Link to the respective gnumeric issue:
As far as tested it's less a problem of the amount of cells, but more that they are all stacked in one column. Can't say if it's a problem of xmllint ( ill recursions? )? the command? the reference? or whatever. I hope here is the appropriate place to report?
My system: actual debian based Kali Linux.
regards