Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-24-2012, 09:38 AM   #1
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 1,418
Karma: 846401
Join Date: Jan 2009
Device: KoboGlo
About a FlightCrew remark

Hi

I produce EPUBs on MobileRead using writer2xhtml. The end result is usually without problem. However FlightCrew reports, for each chapter, the following and same -minor- defect:

Unable to find validator for simple type of attribute 'media'

I reported this as a bug last year and have been recently told to contact you on the forum.
http://code.google.com/p/sigil/issues/detail?id=887

Here is one exemple book which suffers this validation problem:
http://www.mobileread.com/forums/sho...20#post1978620

Please, do tell what I must write and where.
If need be, I will inform the writer2xhtml author.

Thank you
roger64 is offline   Reply With Quote
Old 02-24-2012, 10:07 AM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 8,883
Karma: 39965569
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Try placing the media directives in the CSS itself instead of in the xhtml <link /> tag.
DiapDealer is offline   Reply With Quote
 
Enthusiast
Old 02-24-2012, 10:33 AM   #3
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,443
Karma: 5567061
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Isn't "all" redundant as it is the default?
theducks is offline   Reply With Quote
Old 02-24-2012, 10:43 AM   #4
mmat1
Det
mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.
 
mmat1's Avatar
 
Posts: 942
Karma: 1105210
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
Quote:
Originally Posted by roger64 View Post
Unable to find validator for simple type of attribute 'media'
Yes well, this is funny....

- Flightcrew reports an error
- Epubcheck reports no error (at lat not with this attribute ... )
- A Quick glance on "Open Publication Structure (OPS) 2.0.1" shows, that there's actually no reason, that the attribute is within the <link>-tag (devices may just ignore it).

My best sugestion: toss it out !

If, for any unexpected reason, a media directive is nessessary, then ist should be, as foretold, in CSS.
mmat1 is offline   Reply With Quote
Old 02-24-2012, 10:46 AM   #5
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 8,883
Karma: 39965569
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
It wouldn't be redundant if there were other stylesheets to be added in addition to (based on media-type) one that contains all the common elements... but it is extraneous if there's only one stylesheet to be linked, or there's multiple stylesheets which all have the 'all' media attribute.
DiapDealer is offline   Reply With Quote
Old 02-25-2012, 02:25 AM   #6
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 1,418
Karma: 846401
Join Date: Jan 2009
Device: KoboGlo
Hi

Thanks for your comments.

I will inform the author.
roger64 is offline   Reply With Quote
Old 02-26-2012, 07:29 PM   #7
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 1,418
Karma: 846401
Join Date: Jan 2009
Device: KoboGlo
Hi

writer2xhtml will follow your proposal for the -incoming- 119 version of the extension.

Henrik Just:
"The media attribute is correct, so FlightCrew should not complain. On the other hand it is not needed, so I have now removed it."

Thank you for taking time to comment on it.
roger64 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is this a FlightCrew bug? JSWolf Sigil 5 10-04-2011 04:01 AM
Bug in FlightCrew JSWolf Sigil 11 07-30-2011 04:12 AM
Standalone flightcrew? bfollowell Sigil 4 06-30-2011 11:21 AM
FlightCrew and Norton IS bobcdy ePub 5 11-16-2010 05:28 PM
iLiad How to remark a line in registry.xml? ericshliao iRex Developer's Corner 1 11-17-2008 08:37 AM


All times are GMT -4. The time now is 03:46 PM.


MobileRead.com is a privately owned, operated and funded community.