AbbyyToDjvuXml.pl confused by presence of multiple addToAccessFormats elements

Bug #249597 reported by Hank Bromley
2
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, lecapitallaspc00jannuoft and historyofcatasau00lamb.

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?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.