snaekobbi / requirements

Requirements-based functional testing of the Braille in DAISY Pipeline project
http://snaekobbi.github.io/requirements
0 stars 0 forks source link

Tests for cross-references #35

Open bertfrees opened 9 years ago

bertfrees commented 9 years ago

Addresses requirements:

Related issues:

bertfrees commented 9 years ago

@JC-MTM Can I assign this issue to you? These requirements are about inserting certain variables at references (4.7:103) and referenced items (4.7:104). Note that this is about generated content, examples where all content is already in the source XML are not relevant here.

An example of 4.7:103 would be page references in tables of contents or indices, references to (automatically numbered) tables or illustrations, note references, etc. Things like that.

4.7:104 is a bit more exotic. If I remember correctly, the example that was mentioned before was a note in an endnote section that includes the page and/or volume number of the note reference.

JC-MTM commented 9 years ago

Hi Bert! I'll try to find some examples.

JC-MTM commented 9 years ago

Sent you an e-mail, Bert. Would be nice to be able to attach a pef-file on here ;)

bertfrees commented 9 years ago

Thanks, got it. Yeah would be nice indeed but I don't think you can attach files here.

JC-MTM commented 9 years ago

Hi Bert! Sent you an e-mail of new example of req. 103 + 104. /Jens

bertfrees commented 9 years ago

@JC-MTM wrote:

For the last example, I didn't have a source xml-file. So here's a new one. Complete with note reference and end note. The note at the end of the book includes the page number of the note reference. This should cover requirements 4.7.103 and 4.7.104.

Thanks Jens, looks good. This covers 104 (not 103, an example of that would be a page number in a TOC or index). Just to make sure I understand correctly: the endnote on the last page is preceded by the text "Sida 1" (page 1), indicating that the note was referenced on braille page no. 1. What if there were two notes on that first page? Would "Sida 1" be omitted for the second note? In other words, are the notes grouped per page?

The example you sent me earlier with the index seemed useful too. Any chance I can get an XML for that?