asadqazi / android-daisy-epub-reader

Automatically exported from code.google.com/p/android-daisy-epub-reader
0 stars 0 forks source link

Finally complete the migration to the NavCentre code to facilitate partial support for DAISY 3 format books #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
My thoughts on migration to NavCentre code
Julian Harty 13 May 2011

Let's see if we can process DAISY 2.02 twice, once using the XMLParser.class 
and once using DaisyParser.class  We can do this first using unit tests, 
calling first one, then the second, and then compare the counts of equivalent 
elements e.g. headings, audio elements, etc.

Once the tests pass (and no doubt I've enhanced the related NavCentre code) 
then I can try calling XMLParser from the main program. I expect I'll also need 
to modify the navigation code and the retrieval code e.g. to get the details of 
the audio to play.

At this point we may be able to migrate to NavCentre :)

Note: The current program crashes with a stackoverflow when trying to create 
the structure that represents the various audio elements (in r214) for the 
Daisy2Book from readhowyouwant.com  I want to revisit this issue once I've had 
a go at migrating to NavCentre in case it uses memory more efficiently.

Original issue reported on code.google.com by julianharty on 13 May 2011 at 6:19