daisy / pipeline

Super-project that aggregates all Pipeline related code, provides a common tracker for Pipeline related issues and holds the Pipeline website
http://daisy.github.io/pipeline
21 stars 21 forks source link

ACE notes "serious" error for missing dc:source metadata for EPUB3 with page lists #698

Closed jbrugge closed 7 months ago

jbrugge commented 1 year ago

Expected Behavior

When running the dtbook-to-epub3 script on DAISY books that have pagebreaks in them, the EPUB3 result should have an OPF file with a dc:source element.

Actual Behavior

Running ACE against the EPUB3 output generates a report pointing out the missing property. { "@type": "earl:assertion", "earl:result": { "earl:outcome": "fail", "dct:description": "Publications with page breaks must declare the 'dc:source' metadata" }, "earl:assertedBy": "Ace", "earl:mode": "automatic", "earl:test": { "earl:impact": "serious", "dct:title": "epub-pagesource", "dct:description": "Ensures the source of page breaks is identified", "help": { "url": "http://kb.daisy.org/publishing/docs/navigation/pagelist.html", "dct:title": "Page Navigation", "dct:description": "Add a 'dc:source' metadata property to the Package Document" }, "rulesetTags": [ "EPUB" ] }

Steps to Reproduce

The sample book in https://github.com/daisy/pipeline/issues/674 exhibits this issue, so refer to the EPUB3 output from that.

The ACE report was then generated with this: $ ace --subdir --silent --outdir ace_sherlock The_Adventures_of_Sherlock_H.epub

Environment

Logs

ACE JSON report