Comments (4)
The test project created for #69 includes a demonstration of this error as it includes a generated EPUB 3 file with a detached GPG signature file. The GPG signature can show that the file could not possibly have been created at the timestamp it uses ... well, not without breaking a 4096-bit RSA and 512-bit SHA2.
To verify the signature on the file, my key is: 0x321E4E2373590E5D
It can also be found in many of my github projects, on the MIT keyserver and the SKS keyserver pool.
from org.dita4publishers.epub.
I see the problem. Will investigate.
from org.dita4publishers.epub.
Hasimir says:
As mentioned on dita-users the previous fix to convert localtime to UTC is an odd half-fix. Specifically the time conversion does correctly calculate the difference between the system time which the OT runs on and UTC, including adjusting the date where necessary. However the time is only ever recorded as a 12 hour clock and not a 24 hour clock. So any UTC time between 13:00Z and 23:59Z loses 12 hours.
I am not certain what happens with 00:00Z since I haven't run a transformation at exactly that time. I'm also not certain if this is an issue with XSLT or Java itself. It is, however, less of a worry than the situation prior to the half-fix since it does at least prevent the generation of a timestamp in the future from the point of the transformation which was previously the case for those of us ahead of UTC (i.e. from Europe to Asia and Oceania). It is also not picked up by epubcheck.
from org.dita4publishers.epub.
Fix tested with OT 1.8.5 and works as expected.
from org.dita4publishers.epub.
Related Issues (20)
- Provide runtime options for generating fixed-layout pages
- When html2.generate.index index generated but not reflect in nav or toc
- Generate CSS @font-face declarations from the font manifest HOT 1
- topic/publisher not handled properly for OPF output HOT 1
- [BUG] coverimage for Apple iBooks compliance duplicated in manifest HOT 6
- graphics not copied (OT 2.3.1) HOT 3
- Provide runtime option for specifying a single JavaScript file HOT 1
- Generalize font manifest facility to handle files of any time, JavaScript
- HTML files for for topicheads have .html extension, should have .xhtml HOT 1
- Invalid attribute values in EPUB HOT 2
- No need to include generated TOC file
- Doctypes in generated files.
- Figure description results in invalid HTML5 markup
- Unwanted @xml:base attribute in MathML elements in generated XHTML HOT 1
- SVG documents must not have DOCTYPE declarations HOT 1
- Font embedding with iBooks
- Errors reported with latest Epub Checker HOT 1
- Update for OT 3.6+ HOT 2
- Errors publishing a DITA Map to EPUB with latest 1.0.0RC28 release HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from org.dita4publishers.epub.