Finish the the check for oeb/ncx document.

Pleaser merge into master, george!