06-04-2013, 06:34 AM | #1 |
Addict
Posts: 392
Karma: 1008414
Join Date: Jun 2011
Device: Kindle
|
Error when checking with ePub-Checker
I get the following error for every HTML document when using pagina EPUB-Checker (which uses ePubChecker 3.0.1):
Code:
ERROR: <book name>.epub/ops/xhtml/halftitle2.html(7,108): non-standard stylesheet resource 'ops/styles/page-template.xpgt' of type 'application/vnd.adobe-page-template+xml'. A fallback must be specified. Code:
<link href="../Styles/9781439100516.css" rel="stylesheet" type="text/css" /> <link href="../Misc/page-template.xpgt" rel="stylesheet" type="application/vnd.adobe-page-template+xml" /> FlightCrew reports no problems and neither does the web site http://validator.idpf.org/application/validate, which I believe uses ePubChecker 3.0. If I use the Calibre plugin "Modify ePub" and choose "Remove Adobe .xpgt files and links", the resulting ePub now validates perfectly in all tools used. Last edited by gers1978; 06-04-2013 at 06:43 AM. |
06-04-2013, 04:42 PM | #2 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
I would suggest you try the techniques list on this link. http://www.hxa.name/articles/content...7241_2007.html
Define the CSS to include the selector shown and see if this resolves the problem. See section 3. Dale |
Advert | |
|
06-05-2013, 11:29 AM | #3 |
Resident Curmudgeon
Posts: 73,987
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Use of page-template.xpgt is non-standard and is an Adobe extension to ADE. The solution is to dump page-template.xpgt and the references to it. Set your margins in CSS and you'll be OK.
|
06-07-2013, 07:45 AM | #4 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2012
Device: Apple
|
Error New ePub Valdiator epubcheck-3.0.1
Hi,
Please help me to resolve this issue. New validator gives this error non-standard stylesheet resource 'OPS/xhtml/page-template.xpgt' of type 'application/vnd.adobe-page-template+xml'. A fallback must be specified. If I remove this line from Html file the the final does not look good in ADE. Please help. |
06-07-2013, 08:12 AM | #5 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Re-code whatever you had in the xpgt file in the standard CSS, or ignore the error.
|
Advert | |
|
06-08-2013, 07:02 AM | #6 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2012
Device: Apple
|
Should I copy paste code from xpgt file to css? Please guide.
|
06-08-2013, 11:43 AM | #7 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
|
06-08-2013, 05:52 PM | #8 |
Resident Curmudgeon
Posts: 73,987
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
06-12-2013, 02:10 AM | #9 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2012
Device: Apple
|
Hi Dale,
Please guide me how to select a selector? I am unable to do so. Regards, Richa "Did you try the method I pointed you to in my response? You need a selector I think. You should try it before you give up." |
06-12-2013, 11:42 AM | #10 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Looking over your work I think the ePubcheck 3.01 is at fault. It is calling an error when it should be calling it a warning. This is not the only thing that ePubcheck calls an error when it should be a warning.
Dale |
06-12-2013, 10:55 PM | #11 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2013
Device: none
|
According to what I read this is a bug in 3.01 based upon http://code.google.com/p/epubcheck/issues/detail?id=271
I've got some experts working on this problem and I'll let you know what they come up with in 24-48 hours. |
06-12-2013, 10:58 PM | #12 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2013
Device: none
|
|
06-13-2013, 04:24 PM | #13 |
Resident Curmudgeon
Posts: 73,987
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
But when this error in epubcheck 3.0.1 is fixed, please have it flag that there is a page-template file. I don't want one and if it's there, I'll delete it. So having it flag that I forgot to delete it is a good thing.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Validation Error from ePub Checker | sgirsberger | ePub | 6 | 01-17-2012 05:20 PM |
epub checker | drMerry | Development | 3 | 06-17-2011 02:04 PM |
epub validation checker | bobcdy | ePub | 0 | 06-03-2011 05:31 PM |
iTunes ePub Checker | Bull06 | Calibre | 3 | 08-26-2010 12:09 PM |
ePub to Mobi checker | MarcusStringer | ePub | 6 | 07-10-2010 01:34 AM |