Body: <p>I am trying to figure out an appropriate toc.ncx that EpubCheck will recognize as correct.</p>
  
  <p>Right now I have:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;ncx version="2005-1" xmlns="http://www.daisy.org/z3986/2005/ncx/"&gt;
      &lt;head&gt;
          &lt;meta content="urn:uuid:e9f75adf-f0a2-4a30-b113-b146871f16e5" name="dtb:uid"/&gt;
          &lt;meta content="0" name="dtb:totalPageCount"/&gt;
          &lt;meta content="0" name="dtb:maxPageNumber"/&gt;
          &lt;meta content="2" name="dtb:depth"/&gt;
      &lt;/head&gt;
      &lt;docTitle&gt;
          &lt;text&gt;Doxology&lt;/text&gt;
      &lt;/docTitle&gt;
      &lt;docAuthor&gt;
          &lt;text&gt;C.J.S. Hayward&lt;/text&gt;
      &lt;/docAuthor&gt;
      &lt;navMap&gt;
          &lt;navPoint class="h1" id="letters.xhtml" playOrder="1"&gt;&lt;navLabel&gt;&lt;text&gt;The Angelic Letters&lt;/text&gt;&lt;/navLabel&gt;&lt;content src="letters.xhtml" /&gt;&lt;/navPoint&gt;
  &lt;navPoint class="h1" id="spectacles.xhtml" playOrder="2"&gt;&lt;navLabel&gt;&lt;text&gt;The Spectacles&lt;/text&gt;&lt;/navLabel&gt;&lt;content src="spectacles.xhtml" /&gt;&lt;/navPoint&gt;
  &lt;navPoint class="h1" id="doxology.xhtml" playOrder="3"&gt;&lt;navLabel&gt;&lt;text&gt;Doxology&lt;/text&gt;&lt;/navLabel&gt;&lt;content src="doxology.xhtml" /&gt;&lt;/navPoint&gt;
  
      &lt;/navMap&gt;
  &lt;/ncx&gt;
  </code></pre>
  
  <p>What should I be doing differently in this file? The error I'm getting is:</p>
  
  <blockquote>
    <p>Fatal Error while parsing file 'The prefix "ns" for element "ns:ncx" is not bound.'.</p>
  </blockquote>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-11-22T06:11:44.053Z
Comments.Text: FUN FACT: toc.ncx is no longer a mandatory file in epub3 (it was only required in epub 2).  In epub3 it is no longer necessary to have a toc.ncx file (and for future versions it will be deprecated). Instead you include a HTML navigation document (which you mark by using the NAV element in that file). I've never tried deleting this file when I generate it, but I'm guessing that doing so would eliminate the error.
Comments.UserDisplayName: idiotprogrammer
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-11-27T16:17:23.380Z
Comments.Text: @idiotprogrammer I would still recommend a ncx file for compatibility with the majority of reading systems.
Comments.UserDisplayName: geek1011
Tags: <epub><epubcheck><ncx>
Title: What do I need my (ePub) toc.ncx to have?
UserDisplayName: Christos Hayward
ThreadText: # What do I need my (ePub) toc.ncx to have?
  
  (Asked by: username_0 on 2017-11-21)
  
  I am trying to figure out an appropriate toc.ncx that EpubCheck will recognize as correct.
  Right now I have:
  
  
      
          
          
          
          
      
      
          Doxology
      
      
          C.J.S. Hayward
      
      
          The Angelic Letters
  The Spectacles
  Doxology
  
      
  
  
  What should I be doing differently in this file? The error I'm getting is:
  
  Fatal Error while parsing file 'The prefix "ns" for element "ns:ncx" is not bound.'.
  
  **Tags:** epub, epubcheck, ncx
  
  > **Comments:**
  > **username_1**: FUN FACT: toc.ncx is no longer a mandatory file in epub3 (it was only required in epub 2).  In epub3 it is no longer necessary to have a toc.ncx file (and for future versions it will be deprecated). Instead you include a HTML navigation document (which you mark by using the NAV element in that file). I've never tried deleting this file when I generate it, but I'm guessing that doing so would eliminate the error.  
  > **username_2**: @username_1 I would still recommend a ncx file for compatibility with the majority of reading systems.  
  
  ---
  
  ## 0 answers
  
  