GNOME Bugzilla – Bug 78966
xmllint in 2.4.20 can't stand long lists
Last modified: 2009-08-15 18:40:50 UTC
I get an error with the xmllint in 2.4.20 which I don't get in 2.4.19. I think there is some kind of internal overflow here. The DTD says: <!ELEMENT index (indexentry*)> There are about 1100 indexentry elements within the index element. The error I get is: xml/timeline.xml:11727: validity error: Element index content doesn't follow the DTD Expecting (indexentry)*, got (indexentry indexentry indexentry indexentry indexentry indexentry indexentry indexentry indexentry indexentry [many more such lines skipped] indexentry indexentry ... </index> ^ The document conforms to the DTD according to 2.4.19 There is another element with a somewhat alike definition which also triggers the error (this time containing about 900 elements).
It's a temporary measure against bug #78729, in the meantime increase seriously the value of MAX_RECURSE at line 94 in valid.c Daniel
Should be fixed in CVS now, 78729 is fixed, and the limitation introduced is fixed too, that part of the code has been completely revamped ! Either grab the version from CVS or wait for the next release. thanks for the report ! Daniel
Should be closed in the last release, thanks, Daniel