achbook / android-daisy-epub-reader

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

We need to refine the parsing of the dc:date meta tag #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The new book model includes code that parses the date field from the ncc.html 
file. We assumed this includes a scheme attribute (test content such as 
FireSafety does). However when I added a command line utility to parse ncc.html 
files I discovered that the WIPO book does not include the scheme attribute for 
dc:date in ncc.html.

We need to refine our logic that handles the dc:date element to take into 
account the possibility of dates without the scheme attribute. We can also 
improve the error reporting as the code currently reports a null pointer 
exception :(

Bug discovered between r420 and r421

Original issue reported on code.google.com by julianharty on 14 Feb 2012 at 5:03

GoogleCodeExporter commented 9 years ago
Fixed the code in 
http://code.google.com/p/android-daisy-epub-reader/source/detail?r=422

Original comment by julianharty on 19 Feb 2012 at 2:00