View Full Version : error apos in opf


Fabienne78
10-24-2011, 01:18 PM
Hello,
I am desperately looking for a solution to resolve an error in an epub file. Everytime I'm testing my file I have this message : "content.opf(14): Entity 'apos' is undeclared".
I have already made epub files always in the same way : I convert my .doc in .odt, then I do what has to be done to have a correct epub file, then I use wrtier2epub.
I precise that there is no apostrophe in the title of the book, neither in the title of the chapter. There are apostrophes in the book, but in the others also.
Can someone help me ?
Sorry for my english, which is not very good. If you speak french, it would be wonderful ;-)
Thanks and ... Bonne soirée,
Fabienne

pholy
10-24-2011, 02:13 PM
Look for <<&apos;>> (without the <<>> of course) in line 14 in your content.opf file. That would be the entity referred to, which is not OK in the opf file. I think, if I recall correctly, that the apostrophe <<'>> character is allowed in the opf, so just use ' in place of &apos;

Fabienne78
10-26-2011, 07:24 AM
Wonderful, thanks a lot !! That was it... but as I don't know how to zip all the files to make an epub file, I corrected the text in the metas of the odt file by picking off all the apostrophes, so it changed the text a little, but it's good anyway.
Next time, I'll learn how to zip the files towards epub.
Thanks again ;-))