amaresh19 / epubcheck

Automatically exported from code.google.com/p/epubcheck
MIT License
0 stars 0 forks source link

id uniqueness test for encryption.xml #307

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Since the xml sec schemas are not maintained in the epub core specs anymore, 
moving issue 244 over here.

Id attributes in the encryption file do not report uniqueness errors.

As noted in the RNC:

# (1) ds_IdType
#
# This is defined as xsd:NCName.  One might want to use xsd:ID 
# instead, but jing is likely to report an error.  This is because 
# of the compatibility requirement for the ID/IDREF/IDREFS feature, 
# which is specified in the OASIS committee specification 
# "RELAX NG DTD Compatibility" (December 2001).

It would be useful to add a schematron check to verify IDs in these files.

Original issue reported on code.google.com by mgarrish on 20 Sep 2013 at 3:43

GoogleCodeExporter commented 9 years ago
THIS ISSUE MOVED TO GITHUB:
https://github.com/IDPF/epubcheck/issues/

Original comment by rdeltour@gmail.com on 7 Nov 2013 at 10:49