Incorrect language when more than one summary #527
Labels
a11y-display-techniques-epub
Issue with the epub accessibility metadata display techniques
a11y-display-techniques-onix
Issue with the onix accessibility metadata display techniques
The epub algorithm catches the first accessibility summary, but the xpath for the language finds the last instance of any summary or an ancestor with an xml:lang. So when you have two summaries, the first is output but if the second has a different xml:lang, it will be output with the second one's language.
I don't know if you can have more than one summary in an onix record, but if you can, it should be checked there, too.
The text was updated successfully, but these errors were encountered: