-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about enforcement of dcterms:modified metadata element #11
Comments
The ePub 3 spec says that property is required, as it's used in the generation of the publication's unique ID. It wasn't required for earlier versions of the spec though. Sent from my iPhone
|
Just out of interest: can the actual error handler implementation behind "HandleError" be overridden / specified on the client side of the API, so that the Readium SDK can potentially be used in a context different than a reading system app? (e.g. authoring tool => report error / warning, but do not emit a fatal error) |
Yes, the function called by the API here actually calls a user-specified error handler. That makes the decision on whether to throw an exception or not. Probably it could return an enumerated constant instead: throw exception, fail, or ignore. Sent from my iPhone
|
This is truly ancient and the question posed by Nelson seems to have been answered. Closing. |
Note that this issue is now discussed here: readium/SDKLauncher-Android#33 |
Note that cancellable warning messages (popup dialogs) have been implemented in iOS, OSX and Android launchers as "error handlers" (as per the SDK terminology): |
Hi,
I'm taking a look at the code for Readium SDK, and I noticed the following piece of code in the file package.cpp, lines 539-540:
Basically, what that does is to make mandatory that the OPF for a given ePub must have the "dcterms:modified" metadata element. Because of that, if a given ePub does not have that metadata element, the Readium SDK will not be able to open that ePub.
I'm not aware of the discussions around that definition on the spec, however, is that metadata element that critical? I think that maybe the standard could be more forgiving around this specific piece of data.
The text was updated successfully, but these errors were encountered: