AbbyyToDjvuXml.pl confused by presence of multiple addToAccessFormats elements
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Deriver |
New
|
Undecided
|
Unassigned |
Bug Description
symptom is redrow in Scan Factors, complaining that a given page isn't present in djvu.xml and should be (according to scandata); see, for instance, lecapitallaspc0
turns out the reason there is no djvu.xml page is that scandata has two "addToAccessFormats = true" entries for the page - when AbbyyToDjvuXml.pl looks up that element, it gets an array of two elements, both "true", but tests whether the result is 'eq' true; the test fails and the page isn't added to djvu.xml. so:
1) i guess we should change the 'eq' test to something that also accepts an array of "true" values
2) how did the duplication happen in the first place (could reshooting or inserting pages cause it?), and should we prevent it from continuing to happen, or just worry about tolerating it downstream when it does?