readium-js-viewer icon indicating copy to clipboard operation
readium-js-viewer copied to clipboard

DOMParser utility (XML v1.1)

Open danielweck opened this issue 9 years ago • 1 comments

Fixes https://github.com/readium/readium-js-viewer/issues/467 Fixes https://github.com/readium/readium-js-viewer/issues/484

danielweck avatar Feb 04 '16 21:02 danielweck

Live demonstration of the XML v1.1 fix: http://readium-html.surge.sh/?epub=https%3A%2F%2Fcdn.rawgit.com%2Freadium%2Freadium-js-viewer%2Ffeature%2FDOMParser%2Fepub_content%2Faccessible_epub_3&goto=%7B%22idref%22%3A%22id-id2442754%22%7D

OPF package: https://github.com/readium/readium-js-viewer/blob/feature/DOMParser/epub_content/accessible_epub_3/EPUB/package.opf#L1

EPUB3 Navigation Document (TOC): https://github.com/readium/readium-js-viewer/blob/feature/DOMParser/epub_content/accessible_epub_3/EPUB/bk01-toc.xhtml#L1

EPUB3 XHTML Content Documents: https://github.com/readium/readium-js-viewer/blob/feature/DOMParser/epub_content/accessible_epub_3/EPUB/index.xhtml#L1 https://github.com/readium/readium-js-viewer/blob/feature/DOMParser/epub_content/accessible_epub_3/EPUB/ch01.xhtml#L1

Live demonstration of the HTML vs. XHTML fix: http://readium-html.surge.sh/?epub=https%3A%2F%2Fcdn.rawgit.com%2FIDPF%2Fepub3-samples%2Fmaster%2F31%2Fmoby-dick-mo-html

HTML: https://readium.firebaseapp.com/?epub=https%3A%2F%2Fcdn.rawgit.com%2FIDPF%2Fepub3-samples%2Fmaster%2F31%2Fmoby-dick-mo-html

XHTML: https://readium.firebaseapp.com/?epub=https%3A%2F%2Fcdn.rawgit.com%2FIDPF%2Fepub3-samples%2Fmaster%2F31%2Fmoby-dick-mo-xhtml

epub:type becomes role

danielweck avatar Apr 26 '16 15:04 danielweck