Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Cannot parse EPUB books using XHTML 1.1. #50

Open
eskwayrd opened this issue Apr 13, 2018 · 1 comment
Open

Cannot parse EPUB books using XHTML 1.1. #50

eskwayrd opened this issue Apr 13, 2018 · 1 comment

Comments

@eskwayrd
Copy link
Contributor

2018/04/13 00:03:05 [21/116] Error indexing /books/pirate_cinema.epub: xml: unsupported version "1.1"; only version 1.0 is supported

Seems like a limitation of the core xml package. Many EPUBs don't use XHTML 1.1, but I suspect more will as time passes. No worries if this can't be addressed for a while, but I thought reporting it was worthwhile.

@pgaskin
Copy link
Owner

pgaskin commented Apr 13, 2018

If I parse it as HTML instead, it should technically work, but it may cause bugs with some epubs. I'll leave it this way for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants