-
Notifications
You must be signed in to change notification settings - Fork 407
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
Consider ignoring prefix redeclarations to reserved URI #585
Comments
Right. It seems it's not even a SHOULD in the spec (which only says that it SHOULD NOT be overridden). |
Yes, it all kind of hinges on the interpretation of overridden, and I agree that simply redeclaring as reserved really doesn't constitute an override. |
@rdeltour mentioned using vanilla epubcheck, which i am guessing means from github the 4.0 version not from pagina. that worked to validate epub via another script i used, but you also have to remove UPDATE: removing the rendition validates, but then makes the epub a reflowable on ibooks for mac, ios, google play, ADE 4 and others, meaning it adds menu for font size, etc, rendition also causes failure on vanilla epubcheck, meaning i need to zip with another script and skip validation as it seems validation is actually broken. I know this is the only error, so I'm fine skipping validation until epubcheck fixes the rendition issue and allows it in. Supposedly all you need is: pre-paginated to make fxl work, that's not the case apparently as it is failing everywhere I test. |
I don't know what you mean with 'vanilla epubcheck'... There should be no difference between the 4.0.0 release from github and the pagina EPUB-Checker 1.5 as it uses the exact 4.0.0 library internally... |
That was the wording i was given, I figured it must have meant just epubcheck via terminal and the java app. Either way the rendition warning is failing files, it shouldn't be. If removed, they then act as reflowable, so something somewhere is wrong. |
Alright, so the result from our Twitter discussion is, that pagina EPUB-Checker and Epubcheck are behaving the same. Good to know. Still, there's something wrong with the renditions property which should be further investigated in this thread... |
Agree, that something must be off if the file turns reflowable in apps because of rendition prefix removed. and specified-fonts has to be removed. |
It could well happen that the property gets ignored if the reading system resolves the CURIE to a full URI for comparison. If the rs doesn't recognize "rendition:" as automatically mapping to the stem "http://www.idpf.org/vocab/rendition/#" then it won't see the publication as having FXL properties. Reserving the prefix to simplify authoring was the intention of the FXL group, and none of the rs vendors spoke up during the 3.0.1 revision that it was problematic for them, so odd (but not unexpected) that there would be a failure without an explicit declaration. But this is why epubcheck shouldn't emit anything for a simple redeclaration. |
I'm sorry but I don't understand what I have to do. |
Apple's Transporter validator will accept the file even though it has the JOSHUA TALLENT | Director of Outreach and Education @jtallent Pre-flight your EPUB files with FlightDeck. Validation, Retailer Acceptance On Mon, Oct 5, 2015 at 7:52 AM, wattoo [email protected] wrote:
|
Thank you very very much !!! Le 5 oct. 2015 à 17:00, Joshua Tallent [email protected] a écrit :
|
@jstallent And what do we do when they will use the epubcheck version 4.0? |
@ferformaat my understanding based on what @mattgarrish says above is that this warning should not be happening in EPUBCheck 4.0, and that it should be fixed in the next update. |
@ferformaat what @jstallent said above is correct, this will be fixed in v4.0.1, which will be released very soon. |
Thanks a lot. Now I know I can't stop the investigation. |
- added a new method to `Vocab` to get the base URI of a vocabulary - In the prefix parsing utility of `VocabUtil`, check the URI associated with re-declared reserved prefix: an error is reported only if this URI is **not** the URI of the known vocabulary associated to the reserved prefix. In other words, explicit declaration of reserved prefixes is now allowed; trying to override a reserved prefix still raises an error. Fixes #585
Seems like it could become a nuisance warning, especially for rendition: which seems to be generated automatically by some software.
The text was updated successfully, but these errors were encountered: