Skip to content

Commit

Permalink
fixed opf processing for files with declared opf: prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
geometer committed May 16, 2012
1 parent 213582d commit 4980970
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ static const std::string COVER = "cover";
static const std::string COVER_IMAGE = "other.ms-coverimage-standard";

bool OEBBookReader::isOPFTag(const std::string &expected, const std::string &tag) const {
return expected == tag && testTag(ZLXMLNamespace::OpenPackagingFormat, expected, tag);
return expected == tag || testTag(ZLXMLNamespace::OpenPackagingFormat, expected, tag);
}

void OEBBookReader::startElementHandler(const char *tag, const char **xmlattributes) {
Expand Down

0 comments on commit 4980970

Please sign in to comment.