I represent DAISY and the ANSI/NISO Z3986 standard, which are the
formal maintainers of the NCX and DTBook grammars.
As far inconsistencies between the (formal) DTD version [1] and the
RelaxNG version in epubcheck, I cant really answer how these occured
(I didnt author the schema thats in epubcheck). However, let it be
clear that IDPFs intent is not to skew the grammar in any way within
OPS, it is intended to be a 1:1 representation of the Z3986 source.
DAISY does provide another NCX RelaxNG grammar [2], that is used by
the official ANSI/NISO Z3986 validator [3]. We could consider dropping
the epubcheck version and using this, however the issue here is that
the [2] grammar does include a lot of domain specific addons (such as
Schematron rules that reference keys for i12n etc). So perhaps we are
best suited to keep the current schema and fix whatever minor probs
remain (such as the fix I just committed to the trunk regarding the
dir and xml:lang attributes).
[1] http://www.daisy.org/z3986/2005/
[2] http://daisymfc.svn.sourceforge.net/viewvc/daisymfc/trunk/dmfc/src/org/daisy/util/xml/catalog/z39862005/ncx-2005-1.rng?view=log
[3] http://sourceforge.net/project/showfiles.php?group_id=73271
Regards,
Markus Gylling
Technical Development Coordinator
the DAISY Consortium
www.daisy.org