Nesting sub-collections between links.
dauwhe opened this issue · comments
See example 5, which is essentially Example 40 from the indexing spec.
This seems insanely complex. Do we want to support this? Note that nesting collections in JSON becomes even less readable than in XML, and one can spend many unhappy hours at jsonlint.com :)
Remember that example 40 in indexing is invalid (see w3c/epub-specs#561)
Example 5 fixed to reflect issue noted above.
This makes things worse. As evidence, I offer the last few lines of the JSON file:
}]
}
]
}]
}
}
Looks invalid to me, you can't have an "index-group" (a subcollection) in "links", it goes against our model which is:
collection
metadata
links
subcollection (same definition as collection)
Hopefully better now. Thanks!
Can we close that issue and potentially even remove the example from our current document?