Sigil-Ebook / flightcrew

Automatically exported from code.google.com/p/flightcrew
GNU General Public License v3.0
34 stars 11 forks source link

ValidateEpubRootFolder returns empty vector #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Compile the library
2.create test project
3.std::vector<FlightCrew::Result> results = 
FlightCrew::ValidateEpubRootFolder("/test/");

Where the passed directory contains extracted contents from an EPUB file 
(META-INF, OEBPS, content.opf, mimetype, page_styles, stylesheet, titlepage, 
toc.ncx)

What is the expected output? What do you see instead?

Expected output should be detailed verification of the extracted EPUB contents. 
Instead, empty vector with size 0 is returned.

What version of the product are you using? On what operating system?

latest trunk version, windows 7 x64, vs 2010

Read the ReportingIssues wiki page before submitting! In 99.99% of the
cases, you need to attach a minimal epub file to this issue so please do
so.

Original issue reported on code.google.com by borcegeo...@gmail.com on 31 Oct 2013 at 9:03

GoogleCodeExporter commented 9 years ago
Ensure you're path is correct. This is exactly how Sigil (which FlightCrew is 
developed as part of) validates an EPUB. This is working properly for the 
thousands of users who use FC via Sigil.

Original comment by john@nachtimwald.com on 31 Oct 2013 at 9:06