Thread: Support PDF 2.0
View Single Post
Old 11-13-2024, 01:49 AM   #13
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,625
Karma: 7908443
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by DNSB View Post
That is correct. Currently, the only two values allowed are 2.0 and 3.0, minor versions are not supported. If no version is specified, the ePub 2.0.1 specification states the document should be treated as an OEBPS 1.2 document.

From the ePub 3.3 documentation: The version attribute specifies the EPUB specification version to which the given EPUB Package conforms. The attribute MUST have the value "3.0" to indicate compliance with this version of the specification..

While the ePub 2.0.1 specification states: In addition, to be processed as an OPF 2.0 package, a version attribute with a value of 2.0 must be specified on the package element. A package element that omits the version attribute must be processed as an OEBPS 1.2 package.
Thanks so much for this info, I had searched the specs yesterday but couldn't find this specific section about the version attribute.

Quote:
I find that searching for version="3\.0" works fine for me and allows for those files that add additional bits or rearrange the items in the <package> field.
The Quality Check plugin epub search finds the same results using an unescaped dot
Comfy.n is offline   Reply With Quote