04-06-2024, 02:38 PM | #16 |
Sigil Developer
Posts: 8,156
Karma: 5450818
Join Date: Nov 2009
Device: many
|
It means the group who produced the epub3 spec stated epub3 would be an xhtml version of the HTML5 specification, and that eventually maybe a future epub spec might allow html format instead of xhtml format.
Thankfully, that has pretty much died because the HTML5 spec itself evolved into the WhatWG living html specification controlled by the big browser companies that changes constantly. Meaning any future epub spec that tried to follow it would be constantly chasing its tail. What the epub spec writers did not understand is that it is actually a lot harder to create tools, search, and parse "loose -some say lazy" html, as opposed to more strict xhtml. So unless all of the big epub/book companies want to hire programmers and invest in all new tooling, keeping the stricter xhtml format is really more cost effective. And with that I agree. Mend on Sigil is done with a special modified (by us) version of Google's gumbo parser alongside our own xhtml serializer to convert poorly formatted and broken xhtml and html into strict xhtml format. Allowing Sigil itself to function even when the source html/xhtml is flawed. Hope this helps. |
04-06-2024, 08:24 PM | #17 | |
Gregg Bell
Posts: 2,265
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to find books that have less than X number of tags? | Lily7 | Library Management | 3 | 11-24-2023 04:48 PM |
How to find tags that have missing spaces? | Rellwood | Library Management | 0 | 09-17-2022 02:34 AM |
Missing tags | Ted Friesen | Library Management | 1 | 10-31-2020 08:45 PM |
Missing Tags | Ron. | Library Management | 2 | 08-14-2012 11:21 PM |
Tags going missing on transfer | sideburnt | Calibre | 9 | 09-21-2009 12:18 AM |