15
15
from calibre.ebooks.oeb.polish.check.parsing import (
16
16
check_filenames, check_xml_parsing, check_css_parsing, fix_style_tag, check_html_size, check_ids)
17
17
from calibre.ebooks.oeb.polish.check.images import check_raster_images
18
from calibre.ebooks.oeb.polish.check.links import check_links, check_mimetypes, check_link_destinations
19
19
from calibre.ebooks.oeb.polish.check.fonts import check_fonts
20
20
from calibre.ebooks.oeb.polish.check.opf import check_opf
22
XML_TYPES = frozenset(map(guess_type, ('a.xml', 'a.svg', 'a.opf', 'a.ncx')))
22
XML_TYPES = frozenset(map(guess_type, ('a.xml', 'a.svg', 'a.opf', 'a.ncx'))) | {'application/oebps-page-map+xml'}
24
24
def run_checks(container):