fatty- / daisy-pipeline

Automatically exported from code.google.com/p/daisy-pipeline
0 stars 0 forks source link

daisy3-to-epub3 fails to resolve some links in the Nav Doc #272

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
EpubCheck report validation errors after converting the ODTInstructions DAISY 3 
book from the Tobi team:

Epubcheck Version 3.0

Validating against EPUB version 3.0 WARNING: out-odt/result.epub/EPUB/nav.xhtml(78,65): hyperlink to resource outside spine 'EPUB/nav.xhtml' ERROR: out-odt/result.epub/EPUB/nav.xhtml(78,65): 'dtb_717': fragment identifier is not defined in 'EPUB/nav.xhtml' WARNING: out-odt/result.epub/EPUB/nav.xhtml(79,65): hyperlink to resource outside spine 'EPUB/nav.xhtml' ERROR: out-odt/result.epub/EPUB/nav.xhtml(79,65): 'dtb_730': fragment identifier is not defined in 'EPUB/nav.xhtml' WARNING: out-odt/result.epub/EPUB/nav.xhtml(80,65): hyperlink to resource outside spine 'EPUB/nav.xhtml' ERROR: out-odt/result.epub/EPUB/nav.xhtml(80,65): 'dtb_733': fragment identifier is not defined in 'EPUB/nav.xhtml' WARNING: out-odt/result.epub/EPUB/nav.xhtml(81,65): hyperlink to resource outside spine 'EPUB/nav.xhtml' ERROR: out-odt/result.epub/EPUB/nav.xhtml(81,65): 'dtb_738': fragment identifier is not defined in 'EPUB/nav.xhtml' WARNING: out-odt/result.epub/EPUB/nav.xhtml(82,65): hyperlink to resource outside spine 'EPUB/nav.xhtml' ERROR: out-odt/result.epub/EPUB/nav.xhtml(82,65): 'dtb_745': fragment identifier is not defined in 'EPUB/nav.xhtml' WARNING: out-odt/result.epub/EPUB/nav.xhtml(84,65): hyperlink to resource outside spine 'EPUB/nav.xhtml' ERROR: out-odt/result.epub/EPUB/nav.xhtml(84,65): 'dtb_757': fragment identifier is not defined in 'EPUB/nav.xhtml'


It seems to be caused by @id attributes not being copied through the DTBook to 
XHTML conversion. To be investigated.

Sample available upon request.

Original issue reported on code.google.com by rdeltour@gmail.com on 4 Mar 2013 at 1:56

GoogleCodeExporter commented 9 years ago
See https://github.com/daisy-consortium/pipeline-scripts/pull/4

Original comment by rdeltour@gmail.com on 14 Mar 2013 at 2:18

GoogleCodeExporter commented 9 years ago

Original comment by rdeltour@gmail.com on 14 Mar 2013 at 5:12