mxp1988 / epubcheck

Automatically exported from code.google.com/p/epubcheck
MIT License
0 stars 0 forks source link

In ncx, TOC section scope not included in the parent - no warning or error #175

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
PROBLEM:

In toc.ncx, when a TOC section scope (src attribute) is not included in the 
parent, there is no epubcheck warning or error.

METHOD:
for example :

  <navMap>
    <navPoint id="chapter" playOrder="1">
      <navLabel>
        <text>Chapter 1</text>
      </navLabel>
      <content src="chapter.html#first"/>
      <navPoint id="section" playOrder="2">
        <navLabel>
          <text>Section 1</text>
        </navLabel>
        <content src="chapter.html"/>
      </navPoint>
    </navPoint>
  </navMap>

RESULT:

No warning or error in epubcheck3.0b5.

EXPECTED:

If there is a subsection included in the parent, but src attribute not included 
in the src parent ==> warning (or error).

PLATFORM:

windows 7

Original issue reported on code.google.com by vgros00@gmail.com on 7 May 2012 at 2:43

GoogleCodeExporter commented 8 years ago

Original comment by markus.g...@gmail.com on 11 Oct 2012 at 9:11

GoogleCodeExporter commented 8 years ago
THIS ISSUE MOVED TO GITHUB:
https://github.com/IDPF/epubcheck/issues/

Original comment by rdeltour@gmail.com on 7 Nov 2013 at 10:49