06-23-2022, 06:10 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2022
Device: Apple Books app on iPad
|
Sigil parsing error
I am running Sigil 1.9.10 on an M1 iMac (OS X 12.4) and I am getting a parsing error on the '@' sign. Below is a minimum viable example that throws the error:
Code:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops"> <head> <title></title> </head> <body> 0: (SWANK::DEBUG-IN-EMACS #<UNDEFINED-FUNCTION @ #x716b082a>) </body> </html> |
06-23-2022, 06:23 PM | #2 |
Sigil Developer
Posts: 8,116
Karma: 5450818
Join Date: Nov 2009
Device: many
|
That is not valid xhtml so yes, Preview will tell you that.
Try this instead: Code:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops"> <head> <title></title> </head> <body> <pre> 0: (SWANK::DEBUG-IN-EMACS # < UNDEFINED-FUNCTION @ #x716b082a>)</pre> </body> </html> Notice the "<" followed by an ">" both of which which is not allowed in xhtml. They must be xml encoded to "<" and ">" respectively. Preview is showing you where the Chrome based browser is saying the xhtml is invalid. Last edited by KevinH; 06-23-2022 at 07:19 PM. |
Advert | |
|
06-23-2022, 07:57 PM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2022
Device: Apple Books app on iPad
|
Ah, I see. I hadn't worked with XHTML in years and had forgotten about that.
Thanks! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error Parsing attribute name | wellesradio | Sigil | 5 | 12-09-2020 09:37 PM |
Parsing error | Notbelonging | Kobo Developer's Corner | 4 | 06-06-2020 03:34 PM |
Error while TOC parsing. | CrossReach | ePub | 3 | 12-23-2017 05:46 AM |
PRS-T1 Cannot instal ColorDict: Parsing Error? | nikoski | Sony Reader | 2 | 04-07-2014 03:34 AM |
Error parsing attribute name? | seagull | Calibre | 1 | 01-01-2010 11:30 AM |