Answers.Body: <p>The first error message is telling you that the file referenced is not declared in the <code>&lt;manifest&gt;</code> section of the content.opf file. The second one is telling you that the file exists in your epub, but is not declared in the <code>&lt;manifest&gt;</code> section of your content.opf file. The important thing to note is that in the error messages you listed, there are two different files being talked about:</p>
  
  <ul>
  <li>image/illus010b_clip_blurb.png</li>
  <li>image/illus010b_clip_blurb.jpg</li>
  </ul>
  
  <p>See the two different file extensions? That's probably part of the problem. The file <code>j83643-Flower-Fairy_-epubBody-1.xhtml</code> is looking for a png file and not finding one. Meanwhile, there's a jpg file of that name that isn't declared in your <code>&lt;manifest&gt;</code>.</p>
  
  <p>The first thing to do is to open up the content.opf file and check to see what it's expecting to be in there. If the png is listed in the <code>&lt;manifest&gt;</code>, simply converting the image from a jpg to a png should make your error go away, as the xhtml file would be able to find the file it's looking for, and the content.opf file would no longer be finding an unexpected jpg file.</p>
  
  <p>If the png is not listed, you'll have to either add an entry for it and convert the image to a png, or add an entry for the jpg and change the <code>&lt;img&gt;</code> in the xhtml file to refer to the jpg file.</p>
  
  <p>If your file paths and names are all correct and the file is in the <code>&lt;manifest&gt;</code>, I'd suggest checking the encoding on the content.opf file to be sure that it's utf-8, as using ANSI encoding can cause some weird errors sometimes.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-19T20:45:40.537Z
Answers.Text: Thanks for the help.  Indesign CC converted all the files. The images were vector so Indesign changed all the extensions to either png or jpg, Indesign wanted the .png in the cover image and the .jpg in the rest of the document in the examples you cited,  I will try to change something to make this work.
Answers.UserDisplayName: Janis Friesler
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-19T22:11:46.517Z
Answers.Text: No problem! If the answer helped, please feel free to mark it as "accepted"
Answers.UserDisplayName: Tom
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-18T23:43:36.227Z
Answers.LastActivityDate: 2015-04-18T23:49:55.700Z
Answers.LastEditDate: 2015-04-18T23:49:55.700Z
Answers.UserDisplayName: Tom
Body: <p>I am stumped! I have two validation errors left to correct. Unfortunately, they impact many pages.</p>
  
  <p>1.<strong>ERROR: epub9.epub/OEBPS/j83643-Flower-Fairy_-epubBody-1.xhtml(26,162): ‘OEBPS/image/illus010b_clip_blurb.png': referenced resource is not declared in the OPF manifest.</strong></p>
  
  <p>It is in the manifest under images. It is also listed in the images in the image folder. I checked j83643-Flower-Fairy_-epubBody-1.xhtml and it is in there as well. So What do I do next. This error message is given for most of the images. The scanned images with long names are ok.
  I see no difference in their context.</p>
  
  <ol start="2">
  <li>Then the error message changes for the same images: <strong>WARNING: epub9.epub: items (OEBPS/image/illus010b_clip_blurb.jpg) exists in the zip file, but is not declared in the OPF file.</strong> </li>
  </ol>
  
  <p>I don’t know why the semantics changed. It also gives this error for some of the audio and smil files.</p>
  
  <p>If I could fix one example for each type of error, I could fix them all. I have checked the image, audio, smil, and xhtml files. They are listed in all of them and in the content opf.</p>
  
  <p>Hope someone out there can help me,
  Janis</p>
  
Tags: <epub><validation>
Title: I have two error messages that are affecting many of my ePub 3 files
UserDisplayName: Janis Friesler
ThreadText: # I have two error messages that are affecting many of my ePub 3 files
  
  (Asked by: username_0 on 2015-04-18)
  
  I am stumped! I have two validation errors left to correct. Unfortunately, they impact many pages.
  
  1.**ERROR: epub9.epub/OEBPS/j83643-Flower-Fairy\_-epubBody-1.xhtml(26,162): ‘OEBPS/image/illus010b\_clip\_blurb.png': referenced resource is not declared in the OPF manifest.**
  
  It is in the manifest under images. It is also listed in the images in the image folder. I checked j83643-Flower-Fairy\_-epubBody-1.xhtml and it is in there as well. So What do I do next. This error message is given for most of the images. The scanned images with long names are ok.
  I see no difference in their context.
  
  2. Then the error message changes for the same images: **WARNING: epub9.epub: items (OEBPS/image/illus010b\_clip\_blurb.jpg) exists in the zip file, but is not declared in the OPF file.**
  
  I don’t know why the semantics changed. It also gives this error for some of the audio and smil files.
  
  If I could fix one example for each type of error, I could fix them all. I have checked the image, audio, smil, and xhtml files. They are listed in all of them and in the content opf.
  
  Hope someone out there can help me,
  Janis
  
  **Tags:** epub, validation
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-04-18. Score: 2
  
  The first error message is telling you that the file referenced is not declared in the  section of the content.opf file. The second one is telling you that the file exists in your epub, but is not declared in the  section of your content.opf file. The important thing to note is that in the error messages you listed, there are two different files being talked about:
  
  * image/illus010b\_clip\_blurb.png
  * image/illus010b\_clip\_blurb.jpg
  
  See the two different file extensions? That's probably part of the problem. The file `j83643-Flower-Fairy_-epubBody-1.xhtml` is looking for a png file and not finding one. Meanwhile, there's a jpg file of that name that isn't declared in your .
  
  The first thing to do is to open up the content.opf file and check to see what it's expecting to be in there. If the png is listed in the , simply converting the image from a jpg to a png should make your error go away, as the xhtml file would be able to find the file it's looking for, and the content.opf file would no longer be finding an unexpected jpg file.
  
  If the png is not listed, you'll have to either add an entry for it and convert the image to a png, or add an entry for the jpg and change the `![]()` in the xhtml file to refer to the jpg file.
  
  If your file paths and names are all correct and the file is in the , I'd suggest checking the encoding on the content.opf file to be sure that it's utf-8, as using ANSI encoding can cause some weird errors sometimes.
  
  > **Comments:**
  > **username_0**: Thanks for the help.  Indesign CC converted all the files. The images were vector so Indesign changed all the extensions to either png or jpg, Indesign wanted the .png in the cover image and the .jpg in the rest of the document in the examples you cited,  I will try to change something to make this work.  
  > **username_1**: No problem! If the answer helped, please feel free to mark it as "accepted"  
  
  ---
  
  