04-22-2014, 02:31 PM | #1 |
Member
Posts: 20
Karma: 10
Join Date: Dec 2013
Device: Pocketbook touch lux (623)
|
Error: Cannot split: ......xhtml XML is not well formed
Hi together,
I'm re-formatting a lot of epubs including by inserting Sigil chapter breaks... Many times when pressing F6 Sigil gives me the above error and I have to clean up my file (via context-menu) before being able to split it automatically. Can anyone out there tell me what can be the reason(s), please? Up to now I could not find out, what Sigil is "correcting" when cleaning up my file. Many thanks in advance! Peter |
04-22-2014, 02:51 PM | #2 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
You have left off or never had when you imported, paragraph end tags or other end tag or end tags with no start tags, or anchor ends without anchor starts, the list goes on.
You can run it through flight crew to see the list or run it through epub check (that will give you many errors that aren't so important. You can also load it into calibre's editor if you have calibre installed and choose check book. If you are bringing things in from Calibre, it won't have a doctype by design on K. Goyal's part. But you can tell it to let it fix things for you and it will add it. Last edited by mrmikel; 04-22-2014 at 05:18 PM. |
Advert | |
|
04-23-2014, 03:00 AM | #3 |
Member
Posts: 20
Karma: 10
Join Date: Dec 2013
Device: Pocketbook touch lux (623)
|
Hi mrmikel,
1000 thanks. THAT was. Knowing where to search I immediately found my error: When doing a search and replace (with a saved search) I always opened and closed a paragraph with <p>, i.e. I forgot the slash in the end tag.... Have a nice day, Peter |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
missing container.xml error | George H | Editor | 5 | 11-26-2022 09:43 AM |
Oxygen XML Editor - Image error | Kayto | ePub | 14 | 04-17-2013 11:50 AM |
How to handle badly formed xml from web page? | kiwidude | Development | 6 | 02-19-2011 12:05 AM |
xml or xhtml to basic html converter | remjax | Reading and Management | 11 | 07-14-2009 09:04 AM |
Random XML corrupted error | siulayhumga | Calibre | 0 | 06-16-2009 05:37 PM |