View Single Post
Old 05-17-2023, 01:40 AM   #1
RobertWK
Junior Member
RobertWK began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Sep 2022
Device: none
40+ Errors from epubcheck telling me that element "figure" not allowed here

Hi!

I am working on hopefully the last stages of this ebook, and I'm getting an issue where epubcheck 5.0.1 is telling me that

Code:
ERROR(RSC-005): ... /Chapter2.html(72,315): Error while parsing file: element "figure" not allowed here;
I tried changing the extension of one chapter from xhtml to html and back and that made no difference.

Is it because I'm using <!DOCTYPE html> that it's not working? Part of the error is saying with xmlns:ns1="http://www.w3.org/1998/Math/MathML" xmlns:ns2="http://www.w3.org/2000/svg"... do I need to specify another xmlns?

Unfortunately the enshittification of google isn't helping me dig up any clues and I'm at a little bit of a loss.
RobertWK is offline   Reply With Quote