daisy / daisy/pipeline-modules
DAISY Ace reporting duplicate metadata after ePub3 Enhancement
- Dominant language
- HTML
- Stars
- 4
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
In producing the CSUN Conference program for 2024, using the 1.14.17-p1 release of the PipeLine App via the dp2 Command line, Ace reported an issue with the schema:accessibilityHazard meta data item. Ace is reporting an "invalid value" of "none | none"; when I look at the produced content, that is because that metadata property is duplicated.
To produce this content, I start with clean XHTML, which includes the metadata needed for the ePub for accessibility; then I used the html-to-epub3 script to transform that to a text only ePub, which correctly included the meta data item. After that, I used epub3-to-epub3 to add the TTS content to the original to get an audio ePub. When using ACE to check the output, the text only ePub is fine, but the audio ePub has the duplicated meta item in the package.opf file.
I'm attaching screen shots from the package file in the text only and audio ePubs, along with the HTML source, text ePub, audio ePub and ACE report from the audio ePub for reference.


[General-SourceHTML.zip](https://github.com/daisy/pipeline-modules/files/14561231/General-SourceHTML.zip)
[General-SourceEpub.zip](https://github.com/daisy/pipeline-modules/files/14561234/General-SourceEpub.zip)
[General-Audioepub.zip](https://github.com/daisy/pipeline-modules/files/14561241/General-Audioepub.zip)
[General-report.zip](https://github.com/daisy/pipeline-modules/files/14561244/General-report.zip)
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue with the supplied source HTML and EPUB archives, comparing the text-only and audio EPUB package.opf files. Start with the html-to-epub3 and epub3-to-epub3 entry points and trace how schema:accessibilityHazard is carried into the enhanced package. Done means the audio EPUB contains one valid metadata item and passes the reported ACE check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100