Skip navigation
desktop_admin
Currently Being Moderated

entity apos is undeclared

Oct 26, 2011 3:54 AM

when I exported my ebook into epub this error message appeared on the epub check: entity 'apos' is undeclared

I think this is because my ebook's title is 'Instructor's Handbook' with apostroph ...  since I entered this into the file info, this error message has been appearing.

does anyone know how I can fix this error / warning message so that I can successfully submit my ebook to retailers?

 

many thanks

 
Replies
  • Currently Being Moderated
    Oct 26, 2011 5:19 AM   in reply to desktop_admin

    What version of InDesign? In CS5.5 the 7.5.2 update fixes some Epub bugs.

     

     

     

    Bob

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 26, 2011 7:26 AM   in reply to desktop_admin

    Personally, I've never had any problems with apostrophes in ePubs created in 5.5. Try creating another file and test it with apostrophes.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 26, 2011 7:57 AM   in reply to desktop_admin

    I believe I read that you can't use an apostophe in File Info. I misread your original message and didn't see that was where you were using it.

     

    I don't recall if that's a bug or some sort of EPUB limitation.

     
    |
    Mark as:
  • John Hawkinson
    5,513 posts
    Jun 25, 2009
    Currently Being Moderated
    Oct 26, 2011 8:06 AM   in reply to Steve Werner

    I don't recall if that's a bug or some sort of EPUB limitation.

    It's a bug, insofar as &apos (or its terminated version, ') causes problems but a straight-up ASCII apostrophe does not.

     
    |
    Mark as:
  • John Hawkinson
    5,513 posts
    Jun 25, 2009
    Currently Being Moderated
    Oct 26, 2011 8:26 AM   in reply to desktop_admin

    Sorry, desktop, I was speaking to Steve but I should have made my comment more accessible.

    If one takes the EPUB file that InDesign generates and edits it either by unzipping it and editing it by hand, or using some EPUB editor), then you can find the metadata and observe that InDesign has written a &apos in place of the apostrophe. This is an HTML entity code. You can replace it with a regular apostrophe, then it will validate.

     

    If this doesn't sound good to you, then you're stuck. Find a way to not include the apostrophe in the metadata, or wait for CS6 next year and hope that it is fixed there.Sorry.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 26, 2011 8:39 AM   in reply to desktop_admin

    The best discussion I've seen on editing options with ePub on the Mac is Anne-Marie Concepcion's Lynda.com video:

     

    InDesign CS5.5 to EPUB, Kindle, and iPad

     

    You're supposed to be able to do a free trial week on Lynda. com. Hopefully, Bob Levine will pop in here to give you the URL for that.

     

    It's more difficult on a Mac because you can't use the OS  to unzip and zip up the ePub correctly without using Terminal. You can do it with a script (easiest) or you can do with Terminal. Anne-Marie talks about the options. I use the Oxygen editor which takes care of that.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 26, 2011 8:58 AM   in reply to Steve Werner

    Someone call me? J

     

     

     

    http://bit.ly/fcGpiI

     

     

     

    Bob

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 26, 2011 11:23 AM   in reply to desktop_admin

    Hi desktop:

     

    To unzip and then zip back up the epub, use these two applescript utilities linked to this post on mobileread.com. Simply drag and drop the epub file onto the unzip one.

     

    Then, it's very simple to edit the content.opf file where the metadata is stored. It's a text file so open it with your favorite text editor. I like the free Text Wrangler as it colors the tags and stuff but you can use Text Edit that comes with Mac OS if you want.

     

    And when you're ready, drag and drop the folder onto the zip utility to package it back up into an epub.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 14, 2012 6:58 AM   in reply to desktop_admin

    I have been having this same problem with a ePub document and I have finally traced it down to the metadata. The problem was not with the name field, but in the description field. I had used three words with the apostrophe in the description and I had been getting those three errors when I ran the document through the ePub Checker and also when I tried to upload it to the Apple site. The answer is DON'T use any apostrophes in the metadate anywhere. They don't get decoded properly.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points