Debug a <title> tag - validator says it's empty, but it isn't

Hi, can anyone help with this? I’m trying to upload an epub to IngramSpark, but the validator keeps returning:

(RSC-005): /GoogleDoc/nav.xhtml: Error while parsing file: Element “title” must not be empty.

However, the title is not empty

Much appreciated :melting_face:

Hi @SylviaKayRose, this solution might be counter intuitive, and you might’ve already tried it, but have you tried re-packaging the epub?

If you’re using third-party software to generate the epub, then the issue might come from the application’s export settings. Maybe regenerating the epub could help.

Thanks, I’m doing it through Google Docs (download >> as epub). I opened it in Calibre which was no help; tried Sigil, which fixed two other mistakes. Nothing seems to fix this one, though. Sigil shows no errors.

I’ve already tried & downloaded several versions on Google Docs and this is where I am now. What do you mean by regenerating it?

By "regenerating” I meant redownloading it/re-exporting it through Google Docs.

If it’s your first time experiencing this, it might help to download your file as a DOCX file firstfrom Google Docs, adding the DOCX file to your Calibre library and converting/exporting the DOCX file to EPUB using Calibre.

1 Like

Great, I’ll give it a try :slight_smile: thank you

Only problem is, then I have to go through the rest of the debugging process and I’m not even sure how I did it. There were several problems. This is the final error, and if I can get this one the doc will (I hope) be valid. Isn’t there a code snippet or simpler fix for this, besides starting all over again?

1 Like

Found a quick & easy workaround, problem solved. Thank you :slight_smile: