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
Non-core media type stylesheet check ignores fallbacks (ePub Check 3.0.1) #271
Comments
From settus...@gmail.com on June 03, 2013 01:26:48 I have the same issue in new Epub Check 3.0.1. Please help me to resolve this error. Thank You, |
From alan.tre...@gmail.com on June 06, 2013 04:56:58 Check out the change between https://code.google.com/p/epubcheck/source/browse/tags/3.0/src/main/java/com/adobe/epubcheck/opf/XRefChecker.java and https://code.google.com/p/epubcheck/source/browse/tags/3.0.1/src/main/java/com/adobe/epubcheck/opf/XRefChecker.java around line 290 starting
and then in 3.0.1 these reservations seem to have been quelled and the code has been uncommented and updated. However we're getting errors flagged eg when you have things like this in the XHTML
|
From richa...@gmail.com on June 07, 2013 03:30:55 PROBLEM: The new ePub check software Epub Check 3.0.1 throws the following error while validating ePub files. non-standard stylesheet resource 'OPS/page-template.xpgt' of type 'application/vnd.adobe-page-template+xml’. A fallback must be specified. Please advice how to overcome this. |
From tobias.c...@gmail.com on June 07, 2013 14:02:39 This new ERROR is related to issue 244 which was closed by revision r455 . For ePub 3.0 this error is absolutely correct. the adobe page template extension isn't an epub 3.0 core media type. and non-core media types are only allowed if fallbacks are provided. Fallbacks must be declared in the OPF file like this:
You probably haven't done this in your OPF file... |
From tobias.c...@gmail.com on June 07, 2013 15:02:21 This said, I just found out that a correct fallback declaration in OPF is ignored or not checked. So it seems that with r455 we introduced a new bug... Therefore I'm going to rename this issue to better reflect the problem. Attached EPUB should be valid as the fallback for XPGT pageTemplate is correctly declared. Summary: Non-core media type stylesheet check ignores fallbacks (ePub Check 3.0.1) (was: Error for XPGT file while validating ePub 3.0 using the new epubcheck software (ePub Check 3.0.1) ) Attachment: lorem-css-correctFallback.epub |
From richa...@gmail.com on June 08, 2013 03:52:07 Hi, ERROR: lorem-css-correctFallback.epub/EPUB/lorem.xhtml(7,100): non-standard stylesheet resource 'EPUB/page-template.xpgt' of type 'application/vnd.adobe-page-template+xml'. A fallback must be specified. Check finished with warnings or errors Please help us to correct this issue. |
From tobias.c...@gmail.com on June 08, 2013 03:57:26 Please read my comment carefully. The attached file SHOULD be valid, but isn't! Because 3.0.1 has a bug... |
From tobias.c...@gmail.com on June 08, 2013 03:59:49 Issue 281 has been merged into this issue. |
From settus...@gmail.com on June 08, 2013 04:05:37 Thank you for the reply. Yes, the given EPUB file also showing the same error has already reported. Please fix this bug and release new version of epubcheck. Thank you. |
From alan.tre...@gmail.com on June 10, 2013 03:21:57 Thanks Tobias - that is exactly what I was looking for. |
From tobias.c...@gmail.com on June 12, 2013 14:43:52 Issue 283 has been merged into this issue. |
From tobias.c...@gmail.com on June 23, 2013 05:23:35 Issue 285 has been merged into this issue. |
From kurinji...@gmail.com on August 03, 2013 07:02:54 Hai, The new ePub check software Epub Check 3.0.1 throws the following error while validating ePub files. non-standard stylesheet resource 'OEBPS/styles/page-template.xpgt' of type 'application/vnd.adobe-page-template+xml'. A fallback must be specified. Thank you |
From jackscot...@gmail.com on August 28, 2013 03:07:51 When is version 3.0.2 due to be released with this bug fixed? |
From ramara...@gmail.com on October 08, 2013 23:44:31 PROBLEM: The new ePub check software Epub Check 3.0.1 throws the following error while validating ePub files. For the title, xxxxxxxxx, there are Epubcheck 3.0.1 errors. Validating against EPUB version 2.0 Please help us to correct this issue. |
From tobias.c...@gmail.com on October 09, 2013 00:24:37 Hi ramarajds, there's nothing you can do about it. It's a bug in epubcheck 3.0.1 which has to be fixed... Labels: Priority-High |
OK, I can take the ownership. I do not promise a fix in the next few days, but will do for |
From sunny.ab...@gmail.com on May 28, 2013 11:35:46
PROBLEM: The new ePub check software Epub Check 3.0.1 throws the following error while validating ePub files.
Please advice how to overcome this.
Thanks,
Sunny Abraham
Original issue: http://code.google.com/p/epubcheck/issues/detail?id=271
The text was updated successfully, but these errors were encountered: