The developers of KOReader referred me to this source which says that xml:lang on an element has priority over what's specified on a parent element or in some kind of global metadata. So, it's not an error on their part.
https://html.spec.whatwg.org/multipa...html#attr-lang