09-14-2012, 09:25 AM | #1 |
Very Slow Learner
Posts: 51
Karma: 788
Join Date: Jul 2012
Location: UK
Device: none
|
No character data is allowed by content model
Greetings, oh Wise Ones!
I have used <blockquotes> on six occasions on one of my files in my e-book. Flightcrew doesn't seem to like it On each occasion </blockquote> appears I get the 'No character data is allowed by content model' message. The comment also appears twice on line 75 as well as line 76: Extract from file : 74 <blockquote> 75 Conquérants ? Jamais ! Inutiles? Sans aucun doute! 76 </blockquote> This my CSS: blockquote { margin: 2em 2em; } I should add, not all of the quotes are so short. What course of action would you recommend please? Last edited by MrB; 09-14-2012 at 09:26 AM. Reason: Additional information |
09-14-2012, 09:37 AM | #2 |
Grand Sorcerer
Posts: 27,550
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I don't think xhtml technically allows "naked" text in a blockquote. Put the text in a p or a span and see if that clears it up.
74 <blockquote>
75 <p>Conquérants ? Jamais ! Inutiles? Sans aucun doute!</p> 76 </blockquote> |
09-14-2012, 09:49 AM | #3 |
Very Slow Learner
Posts: 51
Karma: 788
Join Date: Jul 2012
Location: UK
Device: none
|
Mr / Ms DiapDealer, you are indeed a wizard!
Worked perfectly, many thanks. |
09-14-2012, 12:00 PM | #4 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
PS. Check your content too:
Conquérants ? Jamais ! Inutiles? Sans aucun doute! You have spaces before some ? and !, and not before the others (they should be non-breaking and thin, if possible too). And you ha non-breaking space where none should be present. |
09-18-2012, 08:00 AM | #5 |
Very Slow Learner
Posts: 51
Karma: 788
Join Date: Jul 2012
Location: UK
Device: none
|
Thank you for pointing out the inconsistency. I believe the French normally put a space before these punctuation marks, so there should be one after 'doute'. I am intrigued by your suggestion that they should be thin. How is that achieved?
|
09-18-2012, 10:03 AM | #6 | |
Well trained by Cats
Posts: 29,804
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Code:
non-breaking (full) space   thin space   EN space   EM space; |
|
09-18-2012, 11:52 AM | #7 |
Very Slow Learner
Posts: 51
Karma: 788
Join Date: Jul 2012
Location: UK
Device: none
|
I am indebted to you all again.
Many thanks. |
09-18-2012, 01:23 PM | #8 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Or use &# 8239; (without the space): thin non-breaking space.
Or use but make it smaller (with a span and font-size:50%). |
09-19-2012, 09:06 PM | #9 |
Member
Posts: 18
Karma: 1314
Join Date: Sep 2011
Location: Hamburg, Germany
Device: iPad
|
I found this on the web about French punctuation rules: http://www.interpc.fr/mapage/billaud/ponctua.htm
If my french is good enough, it says "only one trailing space for period and comma", but leading and trailing spaces for exclamation marks, question marks, semicolons and colons. In short: if the punctuation symbol is drawn with two strokes, put two spaces, if it is drawn with one stroke, just put a trailing space. It says nothing about the witdth of spaces though, but this thread does: http://forum.wordreference.com/showthread.php?t=656762 It seems that   is preferable as leading space with a regular space trailing. More info can be found here: http://forum.wordreference.com/showt...73#post3063773 |
09-20-2012, 11:19 AM | #10 |
Very Slow Learner
Posts: 51
Karma: 788
Join Date: Jul 2012
Location: UK
Device: none
|
@daubnet: That French link is very informative, isn't it - a really good find. Je vous remercie bien
@everyone: so there are two ways of creating a thin space: &# 8239; (without the space)   Is there anything to recommend one over the other? |
09-20-2012, 11:39 AM | #11 |
Very Slow Learner
Posts: 51
Karma: 788
Join Date: Jul 2012
Location: UK
Device: none
|
Now that I've followed theducks entity link I presume that they are different means to an identical end?
|
09-20-2012, 11:58 AM | #12 | |
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
|
Quote:
Dale |
|
09-20-2012, 11:59 AM | #13 |
Very Slow Learner
Posts: 51
Karma: 788
Join Date: Jul 2012
Location: UK
Device: none
|
Please do not interpret three posts in relatively rapid succession as nagging or desperation but I seem to be doing something wrong with my thin spaces.
I have used both &# 8239; (without the space) and   at various points in my French sentence. As expected, their effect is identical. However, their effect is also unexpected! In Sigil the thin spaces appear as a very bold, fat letter I. In ADE the thin spaces appear as question marks. What basic, foolish error have I made now? |
09-20-2012, 12:01 PM | #14 | |
Well trained by Cats
Posts: 29,804
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Which is more meaningful at a Glance? I guess the numeric notation would be needed when decoding User inputs from , say, a Web Form |
|
09-20-2012, 12:23 PM | #15 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Just to be clear:
  or &# 8201; is a normal thin space ("normal" here meaning that it is an allowed place for line breaking) &# 8239; is a non-breaking thin space. It should be about the same size as  , but won't allow a line break. There's no named entity for this one. They are like a normal space and , respectively, but thinner. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
element 'a' is not allowed for content model div | JoanneM | Workshop | 6 | 11-22-2011 11:12 PM |
"Content is not allowed in prolog." - Enhanced Epub Error Help? | AmpedUpDigital | ePub | 2 | 05-03-2011 11:38 AM |
Data on Kindle character sets and font | susan_cassidy | Amazon Kindle | 1 | 02-13-2009 03:24 PM |
Subscription model for content | JHeavner | Sony Reader | 9 | 02-09-2007 10:46 AM |
Should big firms be allowed to censor news content? | Alexander Turcic | Lounge | 0 | 01-27-2005 07:40 AM |