Skip to content

Conversation

@rdeltour
Copy link
Member

@rdeltour rdeltour commented Sep 1, 2025

No description provided.

@rdeltour rdeltour added this to the v5.3.0 milestone Sep 1, 2025
@rdeltour rdeltour self-assigned this Sep 1, 2025
@rdeltour rdeltour added the status: ready to merge The pull request is ready to be merged label Sep 1, 2025
The duplication of `EncryptedData` elements for a single resource caused
EPUBCheck to throw an `IllegalArgumentException`. Duplicating the element
is probably a red flag but is not strictly dissalowed by the spec, so
this commit simply prevents throwing an exception, until the specification
or expected EPUBCheck behavior is clarified.

Fixes #1607
@rdeltour rdeltour force-pushed the issue/1607/encryteddata-duplicate branch from 6d845a7 to 60a6d6c Compare September 1, 2025 14:04
@rdeltour rdeltour changed the title Issue/1607/encryteddata duplicate fix: do not throw an exception for duplicate encrypted data Sep 1, 2025
Base automatically changed from issue/1606/umlaut to main September 1, 2025 15:02
@rdeltour rdeltour merged commit 60a6d6c into main Sep 1, 2025
6 checks passed
@rdeltour rdeltour deleted the issue/1607/encryteddata-duplicate branch September 1, 2025 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: ready to merge The pull request is ready to be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant