I am getting some validation error messages, and I can't find solutions.
ISSUE NBR. 1 -- I am using an "xgpt" file for some alternate formatting. I found a year-old thread here
https://www.mobileread.com/forums/sho...d.php?t=214902
but I don't see a solution suggested. Can I ignore this, or must I code a fallback? If a fallback is necessary, how do I do that?
idpf.org validator says:
Quote:
non-standard stylesheet resource 'OEBPS/Misc/template.xpgt' of type 'text/plain'. A fallback must be specified.
|
PAGINA epubchecker says:
Quote:
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.
|
FlightCrew says:
Quote:
The <item> element's "media-type" attribute has value "text/plain", but the file's media type is "application/vnd.adobe-page-template+xml"
|
ISSUE NBR. 2 -- I am using embedded fonts. Everything displays fine on Sony device, in ADE, and Calibre Viewer. But getting error messages from the W3 validator (the first time I have used this one.) The other validators do not give any messages about fonts. Can I ignore this message, and if not, how do I correct it?
W3.org jigsaw says:
Quote:
Error : font-family Property font-family doesn't exist in CSS level 2.1 but exists in [css1, css2, css3] : "JFFerrule"
Error : Property src doesn't exist : url("../Fonts/JFFerrul-mod.ttf") format("truetype")
|
My css looks like this
Code:
@font-face {
font-family: "JFFerrule";
src: url("../Fonts/JFFerrul-mod.ttf") format("truetype");
}
So jigsaw doesn't care about the xpgt file, and the other three don't find anything wrong with my fonts.
Any words of wisdom? or even of encouragement?

Thanks.