What steps will reproduce the problem? 1. Start the pipeline web service
Note: The pipeline build will need fixes for issue #190 (allow conversion to proceed in spite of validation errors) and #196 (error when links have no destination). There are patches to get past these in a clone of the modules repository at http://code.google.com/r/johnbrugge-pipeline-modules/source/list ).
Run the book through EPUB3 conversion:
cli/dp2 dtbook-to-epub3 --i-source ./CK_12_Life_Science_For_Middl.xml --data /Users/john/Downloads/CK_12_Life_Science_For_Middle_Sc_John_Brugge_Daisy_with_images.zip --file /Users/john/testing/epub3/CK_12_LifeScience-output.zip > ~/testing/epub3/CK_12_LifeScience-pipe1-qa.log What is the expected output? What do you see instead? I expected an EPUB3 with all links and tables intact. Instead a number of tables were changed to different elements. Since some of these tables were also the destination for links, the links were left abandoned.
For example, from the DAISY content:
Table
> 1.2
> Fields of life sciences that examine the structure, function, growth, development and/or evolution o
> f living things
>
<table id="u1-table-fields-focus-examine" summary="Fields of life sciences that examine the structure, function, growth, development and/or evolution of living things_Table Number= 1">
<caption id="caption_000002" />
<thead id="thead_000002">
<tr id="tr_000007">
<td rowspan="1" colspan="1" id="td_000025" smilref="CK_12_Life_Science_For_Middl00001.smil#td_000025">Life Science</td>
<td rowspan="1" colspan="1" id="td_000026" smilref="CK_12_Life_Science_For_Middl00001.smil#td_000026">What it Examines</td>
<td rowspan="1" colspan="1" id="td_000027" smilref="CK_12_Life_Science_For_Middl00001.smil#td_000027">Life Science</td>
<td rowspan="1" colspan="1" id="td_000028" smilref="CK_12_Life_Science_For_Middl00001.smil#td_000028">What it Examines</td>
</tr>
</thead>
The EPUB3 result:
Table1.2Fields of life sciences that examine the structure, function, growth, development
and/or evolution of living things
```
Life Science
What it Examines
Life Science
What it Examines
To identify the links which have dead anchors, the patch I used for issue #196 simply prints out the link ID. For this book, it lists the following links that were correct in the DAISY, and then abandoned in the EPUB3:
[WS] INFO(4590) - NO ANCHOR FOUND FOR u1-table-fields-focus-examine
[WS] INFO(4591) - NO ANCHOR FOUND FOR u1-table-fields-focus-biology
[WS] INFO(4593) - NO ANCHOR FOUND FOR u2-table-four-classes-molecules
[WS] INFO(4594) - NO ANCHOR FOUND FOR u2-table-three-domains
[WS] INFO(4595) - NO ANCHOR FOUND FOR u3-table-eukaryotes-organelles
[WS] INFO(4596) - NO ANCHOR FOUND FOR u3-table-prokaryotes-eukaryotes-compare
[WS] INFO(4598) - NO ANCHOR FOUND FOR u6-table-color-blindness-punnett
[WS] INFO(4599) - NO ANCHOR FOUND FOR u6-table-cystic-fibrosis-punnett
[WS] INFO(4601) - NO ANCHOR FOUND FOR u9-table-Fungus-like-Protists
[WS] INFO(4603) - NO ANCHOR FOUND FOR u10-table-plant-hormones
[WS] INFO(4604) - NO ANCHOR FOUND FOR u10-table-tropisms
[WS] INFO(4605) - NO ANCHOR FOUND FOR u11-table-Phylum-Examples
[WS] INFO(4606) - NO ANCHOR FOUND FOR u11-table-Comparison-of-three-worm-phyla
[WS] INFO(4607) - NO ANCHOR FOUND FOR u12-table-living-molluscan-classes
[WS] INFO(4609) - NO ANCHOR FOUND FOR u12-table-classes-of-crustaceans
[WS] INFO(4610) - NO ANCHOR FOUND FOR u12-table-Subgroups-of-Arachnids
[WS] INFO(4611) - NO ANCHOR FOUND FOR u12-table-Insect-Structures
[WS] INFO(4612) - NO ANCHOR FOUND FOR u12-table-Insect-Communication
[WS] INFO(4613) - NO ANCHOR FOUND FOR u12-table-metamorphosis
[WS] INFO(4615) - NO ANCHOR FOUND FOR u17-table-Vitamins-Needed-For-Good-Health
[WS] INFO(4616) - NO ANCHOR FOUND FOR u17-table-Vitamins-Needed-For-Good-Health
[WS] INFO(4617) - NO ANCHOR FOUND FOR u17-table-Minerals-Needed-For-Good-Health
[WS] INFO(4618) - NO ANCHOR FOUND FOR u17-table-Minerals-Needed-For-Good-Health What version of the product are you using? On what operating system? Pipeline v1.3-beta (modules built from clone at http://code.google.com/r/johnbrugge-pipeline-modules/source/list ). Happens in Ubuntu or OS X. Please provide any additional information below.
_Original issue: http://code.google.com/p/daisy-pipeline/issues/detail?id=197_
From john.bru...@gmail.com on July 27, 2012 16:49:50
What steps will reproduce the problem? 1. Start the pipeline web service
For example, from the DAISY content:
Table > 1.2 > Fields of life sciences that examine the structure, function, growth, development and/or evolution o > f living things >
The EPUB3 result:
Table 1.2 Fields of life sciences that examine the structure, function, growth, development and/or evolution of living things ```
Life Science What it Examines Life Science What it Examines