Context:
In DAISY 2002 dtbook (1.1.0), frontmatter, bodymatter and rearmatter elements allowed %block elements as direct children.
This is no longer the case in DAISY 3 (dtbook 2005-x).
Issue:
The DTBook Migrator does not cope well with block elements as a direct child of body/front/rear matter in a dtbook 1.1.0:
- when such an element is found in the frontmatter, it is simply removed (it would be better if kept and wrapped in a level).
- worse, when such an element is found in the bodymatter or rearmatter, it is kept there which results in an invalid 2005-x dtbook.
Attached is a sample 1.1.0 dtbook.
(this issue was initially reported by Alex Bernier on behalf of BrailleNet)
sample 1.1.0 dtbook