From 5994ac3258cf6231e65961c796ec6b3bd74e6781 Mon Sep 17 00:00:00 2001 From: Tobias Fischer Date: Sat, 31 Dec 2016 15:44:24 +0100 Subject: [PATCH 1/4] fix typo "landmarkS" // refs #457 --- .../com/adobe/epubcheck/ctc/xml/HTMLTagsAnalyseHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/adobe/epubcheck/ctc/xml/HTMLTagsAnalyseHandler.java b/src/main/java/com/adobe/epubcheck/ctc/xml/HTMLTagsAnalyseHandler.java index 3a90de1e5..9bee07174 100644 --- a/src/main/java/com/adobe/epubcheck/ctc/xml/HTMLTagsAnalyseHandler.java +++ b/src/main/java/com/adobe/epubcheck/ctc/xml/HTMLTagsAnalyseHandler.java @@ -304,7 +304,7 @@ else if (("title".compareTo(tagName) == 0) && ("head".compareTo(tagStack.peek()) else if ("nav".compareTo(tagName) == 0) { String type = attributes.getValue(EpubConstants.EpubTypeNamespaceUri, "type"); - if (type != null && "landmark".compareToIgnoreCase(type) == 0) + if (type != null && "landmarks".compareToIgnoreCase(type) == 0) { ++landmarkNavCount; } From 31d3cba9cb99cac037bbae12fe2e81e5e7dcf4a2 Mon Sep 17 00:00:00 2001 From: Tobias Fischer Date: Sat, 31 Dec 2016 15:44:46 +0100 Subject: [PATCH 2/4] fix attribute retrieval with namespace for landmark // fixes #457 --- .../com/adobe/epubcheck/ctc/xml/HTMLTagsAnalyseHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/adobe/epubcheck/ctc/xml/HTMLTagsAnalyseHandler.java b/src/main/java/com/adobe/epubcheck/ctc/xml/HTMLTagsAnalyseHandler.java index 9bee07174..f457ce90b 100644 --- a/src/main/java/com/adobe/epubcheck/ctc/xml/HTMLTagsAnalyseHandler.java +++ b/src/main/java/com/adobe/epubcheck/ctc/xml/HTMLTagsAnalyseHandler.java @@ -303,7 +303,8 @@ else if (("title".compareTo(tagName) == 0) && ("head".compareTo(tagStack.peek()) } else if ("nav".compareTo(tagName) == 0) { - String type = attributes.getValue(EpubConstants.EpubTypeNamespaceUri, "type"); + String epubPrefix = namespaceHelper.findPrefixForUri(EpubConstants.EpubTypeNamespaceUri); + String type = attributes.getValue(epubPrefix+":type"); if (type != null && "landmarks".compareToIgnoreCase(type) == 0) { ++landmarkNavCount; From 8587fc2c90b0df9150810de933ad37209ac1bf64 Mon Sep 17 00:00:00 2001 From: Tobias Fischer Date: Sat, 31 Dec 2016 15:45:09 +0100 Subject: [PATCH 3/4] move and fix ACC-008 check // fixes #734 --- .../epubcheck/ctc/EpubHTML5StructureCheck.java | 8 -------- .../java/com/adobe/epubcheck/ctc/EpubNavCheck.java | 13 +++++++++++++ 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/adobe/epubcheck/ctc/EpubHTML5StructureCheck.java b/src/main/java/com/adobe/epubcheck/ctc/EpubHTML5StructureCheck.java index ce4a3de94..ff85b938c 100644 --- a/src/main/java/com/adobe/epubcheck/ctc/EpubHTML5StructureCheck.java +++ b/src/main/java/com/adobe/epubcheck/ctc/EpubHTML5StructureCheck.java @@ -1,6 +1,5 @@ package com.adobe.epubcheck.ctc; -import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.Hashtable; @@ -52,7 +51,6 @@ public boolean validate() { boolean result = false; SearchDictionary vtsd = new SearchDictionary(DictionaryType.VALID_TEXT_MEDIA_TYPES); - int landmarkNavCount = 0; boolean isGlobalFixed = EpubPackage.isGlobalFixed(this.epubPackage); Hashtable spineItems = new Hashtable(); @@ -147,14 +145,8 @@ else if ((0 != (docTypeMatches & hasHTML5)) && ((hasXhtml != (docTypeMatches & h report.info(null, FeatureEnum.HAS_HTML5, "true"); } } - landmarkNavCount += sh.getLandmarkNavCount(); } } - if (landmarkNavCount != 1 && epubPackage.getVersion() == EPUBVersion.VERSION_3) - { - File zipFile = new File(zip.getName()); - report.message(MessageId.ACC_008, EPUBLocation.create(zipFile.getName())); - } return result; } diff --git a/src/main/java/com/adobe/epubcheck/ctc/EpubNavCheck.java b/src/main/java/com/adobe/epubcheck/ctc/EpubNavCheck.java index b22a7035d..7118c6f97 100644 --- a/src/main/java/com/adobe/epubcheck/ctc/EpubNavCheck.java +++ b/src/main/java/com/adobe/epubcheck/ctc/EpubNavCheck.java @@ -1,5 +1,6 @@ package com.adobe.epubcheck.ctc; +import java.io.File; import java.util.HashSet; import java.util.Vector; import java.util.zip.ZipEntry; @@ -20,6 +21,7 @@ import com.adobe.epubcheck.ctc.epubpackage.SpineItem; import com.adobe.epubcheck.messages.MessageId; import com.adobe.epubcheck.opf.DocumentValidator; +import com.adobe.epubcheck.util.EPUBVersion; import com.adobe.epubcheck.util.EpubConstants; import com.adobe.epubcheck.util.FeatureEnum; import com.adobe.epubcheck.util.HandlerUtil; @@ -123,6 +125,8 @@ private boolean checkNavDoc(String navDocEntry) // no need to report an error here because it was already reported inside of the docParser. return false; } + + int landmarkNavCount = 0; NodeList n = doc.getElementsByTagName("nav"); for (int i = 0; i < n.getLength(); i++) @@ -160,9 +164,18 @@ else if (type.equals("page-list")) { report.message(MessageId.NAV_002, EPUBLocation.create(navDocEntry, HandlerUtil.getElementLineNumber(navElement), HandlerUtil.getElementColumnNumber(navElement), "page-list")); } + else if (type.equals("landmarks")) + { + ++landmarkNavCount; + } } } + if (landmarkNavCount == 0) + { + report.message(MessageId.ACC_008, EPUBLocation.create(navDocEntry)); + } + PackageManifest manifest = epack.getManifest(); PackageSpine spine = epack.getSpine(); From 07a15cc45f7f2c2ca408261e4159408f62ac1dbe Mon Sep 17 00:00:00 2001 From: Tobias Fischer Date: Sun, 1 Jan 2017 11:55:00 +0100 Subject: [PATCH 4/4] fix test cases for ACC-008 changes refs 8587fc2c90b0df9150810de933ad37209ac1bf64 refs #734 --- .../failonwarnings_expected_results.json | 12 ++--- .../jsonfile_expected_results.json | 12 ++--- .../passonwarnings_expected_results.json | 12 ++--- ...everity_overrideBadId_expected_results.txt | 22 ++++---- ...ty_overrideBadMessage_expected_results.txt | 24 ++++----- ...y_overrideBadSeverity_expected_results.txt | 22 ++++---- ...y_overrideMissingFile_expected_results.txt | 20 +++---- .../severity_overrideOk_expected_results.txt | 20 +++---- .../severity_usage_expected_results.txt | 20 +++---- .../command_line/xmlfile_expected_results.xml | 23 ++++---- .../command_line/xmlfile_expected_results.xmp | 29 ++++++---- .../test/css/alternate_expected_results.json | 12 ++--- .../test/css/columns_expected_results.json | 12 ++--- .../css/discouraged_expected_results.json | 12 ++--- .../test/css/discouraged_expected_results.xml | 51 +++++++++--------- .../css/excessive_epub3_expected_results.json | 10 ++-- .../test/css/font-face_expected_results.json | 8 +-- .../test/css/font-face_expected_results.xmp | 53 +++++++++++-------- ...font_encryption_idpf_expected_results.json | 12 ++--- .../font_encryption_idpf_expected_results.xml | 47 ++++++++-------- .../font_encryption_idpf_expected_results.xmp | 48 ++++++++++------- .../test/css/keyframe_expected_results.json | 12 ++--- .../css/multiple_epub3_expected_results.json | 12 ++--- .../test/css/transform_expected_results.json | 12 ++--- .../test/css/transition_expected_results.json | 12 ++--- .../opf/Epub2_marked_v3_expected_results.json | 22 ++------ .../opf/Epub2_marked_v3_expected_results.xml | 16 +++--- ...ve_Spine_Items_epub3_expected_results.json | 10 ++-- ...s_epub3_fixed_format_expected_results.json | 10 ++-- ...ed_format_properties_expected_results.json | 10 ++-- .../opf/Fallbacks_epub3_expected_results.json | 10 ++-- .../Media-type_handler_expected_results.json | 12 ++--- ...ched_mimetypes_epub3_expected_results.json | 6 +-- .../Missing_NAV_epub3_expected_results.json | 22 ++------ .../Missing_NCX_epub3_expected_results.json | 10 ++-- .../Missing_Spine_epub3_expected_results.json | 10 ++-- ...ssing_metadata_epub3_expected_results.json | 10 ++-- .../Missing_unique_id_expected_results.json | 10 ++-- .../test/opf/Properties_expected_results.json | 10 ++-- ...ation_Metadata_epub3_expected_results.json | 10 ++-- ...cation_Metadata_epub3_expected_results.xml | 13 +++-- .../opf/rendition_valid_expected_results.json | 10 ++-- .../test/opf/viewport2_expected_results.json | 12 ++--- .../test/opf/viewport_expected_results.json | 12 ++--- .../package/image_types_expected_results.json | 12 ++--- ...eresting_paths_epub3_expected_results.json | 10 ++-- ...teresting_paths_epub3_expected_results.xml | 17 +++--- ..._mimetype_file_epub3_expected_results.json | 10 ++-- .../missing_opf_file_expected_results.json | 10 ++-- .../missing_toc_file_expected_results.json | 22 ++------ .../path_resolution_expected_results.json | 12 ++--- .../XMLHttpRequest_expected_results.json | 10 ++-- .../test/scripts/eval_expected_results.json | 10 ++-- .../scripts/properties_expected_results.json | 10 ++-- .../scripts/storage_expected_results.json | 10 ++-- .../test/scripts/unused_expected_results.json | 12 ++--- .../test/toc/fragments_expected_results.json | 12 ++--- .../toc/invalid_ncx_expected_results.json | 12 ++--- .../missing_epub_type_expected_results.json | 10 ++-- .../External_media_expected_results.json | 12 ++--- .../xhtml/accessibility_expected_results.json | 10 ++-- .../test/xhtml/dtd_expected_results.json | 10 ++-- .../test/xhtml/epubcfi_expected_results.json | 10 ++-- ...ml5_deprecated_epub3_expected_results.json | 10 ++-- .../xhtml/html5_epub3_expected_results.json | 10 ++-- .../xhtml/hyperlinks_expected_results.json | 12 ++--- .../test/xhtml/lang_expected_results.json | 10 ++-- .../lorem_pagemaps1_expected_results.json | 10 ++-- .../lorem_pagemaps2_expected_results.json | 10 ++-- .../lorem_pagemaps3_expected_results.json | 10 ++-- .../media_overlays_expected_results.json | 12 ++--- .../xhtml/namespaces_expected_results.json | 10 ++-- .../test/xhtml/nesting_expected_results.json | 10 ++-- 73 files changed, 547 insertions(+), 532 deletions(-) diff --git a/src/test/resources/com/adobe/epubcheck/test/command_line/failonwarnings_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/command_line/failonwarnings_expected_results.json index dd30cd447..46244d3b5 100644 --- a/src/test/resources/com/adobe/epubcheck/test/command_line/failonwarnings_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/command_line/failonwarnings_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/command_line/failonwarnings.epub", + "path" : "./com/adobe/epubcheck/test/command_line/failonwarnings.epub", "filename" : "failonwarnings.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:06:20", - "elapsedTime" : 62, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:11:58", + "elapsedTime" : 58, "nFatal" : 0, "nError" : 0, "nWarning" : 1, @@ -266,7 +266,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "failonwarnings.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -373,4 +373,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/command_line/jsonfile_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/command_line/jsonfile_expected_results.json index bcfb738b3..7d98d5615 100644 --- a/src/test/resources/com/adobe/epubcheck/test/command_line/jsonfile_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/command_line/jsonfile_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/command_line/jsonfile.epub", + "path" : "./com/adobe/epubcheck/test/command_line/jsonfile.epub", "filename" : "jsonfile.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:06:20", - "elapsedTime" : 58, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 18:59:12", + "elapsedTime" : 39, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -266,7 +266,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "jsonfile.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -361,4 +361,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/command_line/passonwarnings_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/command_line/passonwarnings_expected_results.json index 976a76758..1a3ce4445 100644 --- a/src/test/resources/com/adobe/epubcheck/test/command_line/passonwarnings_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/command_line/passonwarnings_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/command_line/passonwarnings.epub", + "path" : "./com/adobe/epubcheck/test/command_line/passonwarnings.epub", "filename" : "passonwarnings.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:06:20", - "elapsedTime" : 68, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:11:58", + "elapsedTime" : 39, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -266,7 +266,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "passonwarnings.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -361,4 +361,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideBadId_expected_results.txt b/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideBadId_expected_results.txt index f5daa9611..35d7d1e1a 100644 --- a/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideBadId_expected_results.txt +++ b/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideBadId_expected_results.txt @@ -1,5 +1,5 @@ Start command_line test('severity_overrideBadId') -ERROR(CHK-002): ./com/adobe/epubcheck/test/command_line/severity/(1,0): Unrecognized custom message id BogusID encountered in message overrides file './com/adobe/epubcheck/test/command_line/severity_overrideBadId.txt'. +ERROR(CHK-002): ./com/adobe/epubcheck/test/command_line/severity(1,0): Unrecognized custom message id BogusID encountered in message overrides file './com/adobe/epubcheck/test/command_line/severity_overrideBadId.txt'. Validating using EPUB version 3.0.1 rules. USAGE(ACC-007): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/external_css.xhtml(-1,-1): Content Documents do not use 'epub:type' attributes for semantic inflection. ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(27,13): The 'unicode-bidi' property must not be included in an EPUB Style Sheet. @@ -12,12 +12,12 @@ USAGE(ACC-007): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(55,5): The 'unicode-bidi' property must not be included in an EPUB Style Sheet. ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(56,5): The 'direction' property must not be included in an EPUB Style Sheet. WARNING(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(66,5): CSS position:fixed property should not be used in EPUBs. +USAGE(ACC-008): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.xhtml(-1,-1): Navigation Document has no 'landmarks nav' element. USAGE(HTM-010): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.ncx(2,68): Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found. USAGE(OPF-059): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.ncx(-1,-1): Spine item has no NCX entry reference. USAGE(OPF-059): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.ncx(-1,-1): Spine item has no NCX entry reference. USAGE(CSS-012): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/external_css.xhtml(6,62): Document links to multiple CSS files. USAGE(CSS-012): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/external_css.xhtml(7,66): Document links to multiple CSS files. -USAGE(ACC-008): ./com/adobe/epubcheck/test/command_line/severity.epub/severity.epub(-1,-1): Navigation Document has no 'landmarks nav' element. USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(2,5): Value of CSS property 'font-size' does not use a relative size. USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(7,5): Value of CSS property 'font-size' does not use a relative size. USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(7,5): Value of CSS property 'line-height' does not use a relative size. @@ -56,23 +56,23 @@ USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(11,97): Content file contains at least one inline style declaration. USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,50): Content file contains at least one inline style declaration. USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(15,41): Content file contains at least one inline style declaration. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(1,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(22,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(14,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(6,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(10,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(14,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(18,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(22,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(30,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(34,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(38,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(42,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(46,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(30,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(6,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(30,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(56,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(82,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(49,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(36,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(98,5): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(1,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(30,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(36,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(49,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(56,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(62,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(66,3): CSS class Selector is not used. diff --git a/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideBadMessage_expected_results.txt b/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideBadMessage_expected_results.txt index 6acca8ad1..09d25e72f 100644 --- a/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideBadMessage_expected_results.txt +++ b/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideBadMessage_expected_results.txt @@ -1,6 +1,6 @@ Start command_line test('severity_overrideBadMessage') -ERROR(CHK-004): ./com/adobe/epubcheck/test/command_line/severity/(1,0): The custom message contains too many parameters in message overrides file './com/adobe/epubcheck/test/command_line/severity_overrideBadMessage.txt'. -ERROR(CHK-005): ./com/adobe/epubcheck/test/command_line/severity/(2,0): The custom suggestion contains too many parameters in message overrides file './com/adobe/epubcheck/test/command_line/severity_overrideBadMessage.txt'. +ERROR(CHK-004): ./com/adobe/epubcheck/test/command_line/severity(1,0): The custom message contains too many parameters in message overrides file './com/adobe/epubcheck/test/command_line/severity_overrideBadMessage.txt'. +ERROR(CHK-005): ./com/adobe/epubcheck/test/command_line/severity(2,0): The custom suggestion contains too many parameters in message overrides file './com/adobe/epubcheck/test/command_line/severity_overrideBadMessage.txt'. Validating using EPUB version 3.0.1 rules. USAGE(ACC-007): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/external_css.xhtml(-1,-1): Content Documents do not use 'epub:type' attributes for semantic inflection. ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(27,13): The 'unicode-bidi' property must not be included in an EPUB Style Sheet. @@ -13,12 +13,12 @@ USAGE(ACC-007): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(55,5): The 'unicode-bidi' property must not be included in an EPUB Style Sheet. ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(56,5): The 'direction' property must not be included in an EPUB Style Sheet. WARNING(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(66,5): CSS position:fixed property should not be used in EPUBs. +USAGE(ACC-008): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.xhtml(-1,-1): Navigation Document has no 'landmarks nav' element. USAGE(HTM-010): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.ncx(2,68): Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found. USAGE(OPF-059): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.ncx(-1,-1): Spine item has no NCX entry reference. USAGE(OPF-059): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.ncx(-1,-1): Spine item has no NCX entry reference. USAGE(CSS-012): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/external_css.xhtml(6,62): Document links to multiple CSS files. USAGE(CSS-012): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/external_css.xhtml(7,66): Document links to multiple CSS files. -USAGE(ACC-008): ./com/adobe/epubcheck/test/command_line/severity.epub/severity.epub(-1,-1): Navigation Document has no 'landmarks nav' element. USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(2,5): Value of CSS property 'font-size' does not use a relative size. USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(7,5): Value of CSS property 'font-size' does not use a relative size. USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(7,5): This is an overridden message. @@ -57,23 +57,23 @@ USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(11,97): Content file contains at least one inline style declaration. USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,50): Content file contains at least one inline style declaration. USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(15,41): Content file contains at least one inline style declaration. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(1,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(22,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(14,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(6,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(10,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(14,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(18,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(22,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(30,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(34,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(38,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(42,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(46,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(30,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(6,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(30,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(56,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(82,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(49,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(36,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(98,5): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(1,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(30,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(36,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(49,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(56,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(62,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(66,3): CSS class Selector is not used. diff --git a/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideBadSeverity_expected_results.txt b/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideBadSeverity_expected_results.txt index 49801b6e4..c7fad76a2 100644 --- a/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideBadSeverity_expected_results.txt +++ b/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideBadSeverity_expected_results.txt @@ -1,5 +1,5 @@ Start command_line test('severity_overrideBadSeverity') -ERROR(CHK-003): ./com/adobe/epubcheck/test/command_line/severity/(1,8): Unrecognized custom message severity 'BogusSeverity' encountered in message overrides file './com/adobe/epubcheck/test/command_line/severity_overrideBadSeverity.txt'. +ERROR(CHK-003): ./com/adobe/epubcheck/test/command_line/severity(1,8): Unrecognized custom message severity 'BogusSeverity' encountered in message overrides file './com/adobe/epubcheck/test/command_line/severity_overrideBadSeverity.txt'. Validating using EPUB version 3.0.1 rules. USAGE(ACC-007): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/external_css.xhtml(-1,-1): Content Documents do not use 'epub:type' attributes for semantic inflection. ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(27,13): The 'unicode-bidi' property must not be included in an EPUB Style Sheet. @@ -12,12 +12,12 @@ USAGE(ACC-007): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(55,5): The 'unicode-bidi' property must not be included in an EPUB Style Sheet. ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(56,5): The 'direction' property must not be included in an EPUB Style Sheet. WARNING(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(66,5): CSS position:fixed property should not be used in EPUBs. +USAGE(ACC-008): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.xhtml(-1,-1): Navigation Document has no 'landmarks nav' element. USAGE(HTM-010): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.ncx(2,68): Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found. USAGE(OPF-059): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.ncx(-1,-1): Spine item has no NCX entry reference. USAGE(OPF-059): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.ncx(-1,-1): Spine item has no NCX entry reference. USAGE(CSS-012): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/external_css.xhtml(6,62): Document links to multiple CSS files. USAGE(CSS-012): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/external_css.xhtml(7,66): Document links to multiple CSS files. -USAGE(ACC-008): ./com/adobe/epubcheck/test/command_line/severity.epub/severity.epub(-1,-1): Navigation Document has no 'landmarks nav' element. USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(2,5): Value of CSS property 'font-size' does not use a relative size. USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(7,5): Value of CSS property 'font-size' does not use a relative size. USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(7,5): Value of CSS property 'line-height' does not use a relative size. @@ -56,23 +56,23 @@ USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(11,97): Content file contains at least one inline style declaration. USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,50): Content file contains at least one inline style declaration. USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(15,41): Content file contains at least one inline style declaration. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(1,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(22,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(14,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(6,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(10,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(14,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(18,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(22,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(30,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(34,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(38,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(42,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(46,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(30,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(6,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(30,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(56,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(82,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(49,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(36,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(98,5): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(1,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(30,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(36,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(49,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(56,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(62,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(66,3): CSS class Selector is not used. diff --git a/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideMissingFile_expected_results.txt b/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideMissingFile_expected_results.txt index 7e7793911..a1f5eba07 100644 --- a/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideMissingFile_expected_results.txt +++ b/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideMissingFile_expected_results.txt @@ -12,12 +12,12 @@ USAGE(ACC-007): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(55,5): The 'unicode-bidi' property must not be included in an EPUB Style Sheet. ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(56,5): The 'direction' property must not be included in an EPUB Style Sheet. WARNING(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(66,5): CSS position:fixed property should not be used in EPUBs. +USAGE(ACC-008): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.xhtml(-1,-1): Navigation Document has no 'landmarks nav' element. USAGE(HTM-010): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.ncx(2,68): Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found. USAGE(OPF-059): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.ncx(-1,-1): Spine item has no NCX entry reference. USAGE(OPF-059): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.ncx(-1,-1): Spine item has no NCX entry reference. USAGE(CSS-012): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/external_css.xhtml(6,62): Document links to multiple CSS files. USAGE(CSS-012): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/external_css.xhtml(7,66): Document links to multiple CSS files. -USAGE(ACC-008): ./com/adobe/epubcheck/test/command_line/severity.epub/severity.epub(-1,-1): Navigation Document has no 'landmarks nav' element. USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(2,5): Value of CSS property 'font-size' does not use a relative size. USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(7,5): Value of CSS property 'font-size' does not use a relative size. USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(7,5): Value of CSS property 'line-height' does not use a relative size. @@ -56,23 +56,23 @@ USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(11,97): Content file contains at least one inline style declaration. USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,50): Content file contains at least one inline style declaration. USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(15,41): Content file contains at least one inline style declaration. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(1,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(22,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(14,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(6,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(10,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(14,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(18,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(22,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(30,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(34,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(38,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(42,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(46,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(30,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(6,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(30,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(56,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(82,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(49,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(36,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(98,5): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(1,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(30,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(36,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(49,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(56,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(62,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(66,3): CSS class Selector is not used. diff --git a/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideOk_expected_results.txt b/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideOk_expected_results.txt index f0a2d5080..96fff4ccd 100644 --- a/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideOk_expected_results.txt +++ b/src/test/resources/com/adobe/epubcheck/test/command_line/severity_overrideOk_expected_results.txt @@ -11,12 +11,12 @@ USAGE(ACC-007): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(55,5): The 'unicode-bidi' property must not be included in an EPUB Style Sheet. ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(56,5): The 'direction' property must not be included in an EPUB Style Sheet. WARNING(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(66,5): CSS position:fixed property should not be used in EPUBs. +USAGE(ACC-008): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.xhtml(-1,-1): Navigation Document has no 'landmarks nav' element. USAGE(HTM-010): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.ncx(2,68): Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found. USAGE(OPF-059): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.ncx(-1,-1): Spine item has no NCX entry reference. USAGE(OPF-059): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.ncx(-1,-1): Spine item has no NCX entry reference. ERROR(CSS-012): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/external_css.xhtml(6,62): (severity overridden from USAGE) This is an overridden message ERROR(CSS-012): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/external_css.xhtml(7,66): (severity overridden from USAGE) This is an overridden message -USAGE(ACC-008): ./com/adobe/epubcheck/test/command_line/severity.epub/severity.epub(-1,-1): Navigation Document has no 'landmarks nav' element. USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(2,5): Value of CSS property 'font-size' does not use a relative size. USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(7,5): Value of CSS property 'font-size' does not use a relative size. USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(7,5): Value of CSS property 'line-height' does not use a relative size. @@ -54,23 +54,23 @@ USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(11,97): Content file contains at least one inline style declaration. USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,50): Content file contains at least one inline style declaration. USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(15,41): Content file contains at least one inline style declaration. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(1,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(22,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(14,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(6,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(10,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(14,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(18,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(22,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(30,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(34,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(38,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(42,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(46,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(30,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(6,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(30,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(56,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(82,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(49,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(36,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(98,5): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(1,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(30,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(36,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(49,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(56,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(62,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(66,3): CSS class Selector is not used. diff --git a/src/test/resources/com/adobe/epubcheck/test/command_line/severity_usage_expected_results.txt b/src/test/resources/com/adobe/epubcheck/test/command_line/severity_usage_expected_results.txt index ec934a81e..52568a3c9 100644 --- a/src/test/resources/com/adobe/epubcheck/test/command_line/severity_usage_expected_results.txt +++ b/src/test/resources/com/adobe/epubcheck/test/command_line/severity_usage_expected_results.txt @@ -11,12 +11,12 @@ USAGE(ACC-007): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(55,5): The 'unicode-bidi' property must not be included in an EPUB Style Sheet. ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(56,5): The 'direction' property must not be included in an EPUB Style Sheet. WARNING(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(66,5): CSS position:fixed property should not be used in EPUBs. +USAGE(ACC-008): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.xhtml(-1,-1): Navigation Document has no 'landmarks nav' element. USAGE(HTM-010): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.ncx(2,68): Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found. USAGE(OPF-059): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.ncx(-1,-1): Spine item has no NCX entry reference. USAGE(OPF-059): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/toc.ncx(-1,-1): Spine item has no NCX entry reference. USAGE(CSS-012): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/external_css.xhtml(6,62): Document links to multiple CSS files. USAGE(CSS-012): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/external_css.xhtml(7,66): Document links to multiple CSS files. -USAGE(ACC-008): ./com/adobe/epubcheck/test/command_line/severity.epub/severity.epub(-1,-1): Navigation Document has no 'landmarks nav' element. USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(2,5): Value of CSS property 'font-size' does not use a relative size. USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(7,5): Value of CSS property 'font-size' does not use a relative size. USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(7,5): Value of CSS property 'line-height' does not use a relative size. @@ -55,23 +55,23 @@ USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(11,97): Content file contains at least one inline style declaration. USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,50): Content file contains at least one inline style declaration. USAGE(ACC-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(15,41): Content file contains at least one inline style declaration. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(1,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(22,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(14,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(6,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(10,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(14,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(18,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(22,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(30,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(34,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(38,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(42,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(46,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(30,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(6,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(30,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(56,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(82,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(49,1): CSS class Selector is not used. -USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(36,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(98,5): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(1,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(30,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(36,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(49,1): CSS class Selector is not used. +USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(56,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(62,1): CSS class Selector is not used. USAGE(CSS-024): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(66,3): CSS class Selector is not used. diff --git a/src/test/resources/com/adobe/epubcheck/test/command_line/xmlfile_expected_results.xml b/src/test/resources/com/adobe/epubcheck/test/command_line/xmlfile_expected_results.xml index 74e97b0bb..6dbcdc531 100644 --- a/src/test/resources/com/adobe/epubcheck/test/command_line/xmlfile_expected_results.xml +++ b/src/test/resources/com/adobe/epubcheck/test/command_line/xmlfile_expected_results.xml @@ -1,29 +1,32 @@ - - 2014-09-05T03:27:51+02:00 + + 2016-12-31T01:11:58+01:00 - 2014-09-05T03:24:40Z + 2016-12-31T01:11:26Z 2012-10-10T12:00:00Z application/epub+zip 3.0.1 Well-formed + ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], OPS/external_css.xhtml + ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], OPS/style_tag_css.xhtml + ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], OPS/inline_css.xhtml + ACC-008, HINT, [Navigation Document has no 'landmarks nav' element.], OPS/toc.xhtml HTM-010, HINT, [Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.], OPS/toc.ncx (2-68) OPF-059, HINT, [Spine item has no NCX entry reference.], OPS/toc.ncx OPF-059, HINT, [Spine item has no NCX entry reference.], OPS/toc.ncx - ACC-008, HINT, [Navigation Document has no 'landmarks nav' element.], xmlfile.epub CSS-009, HINT, [Use of certain CSS such as Columns, Transforms, Transitions, box-sizing or KeyFrames can cause pagination issues.], OPS/style.css (3-23) CSS-009, HINT, [Use of certain CSS such as Columns, Transforms, Transitions, box-sizing or KeyFrames can cause pagination issues.], OPS/style.css (8-23) CSS-009, HINT, [Use of certain CSS such as Columns, Transforms, Transitions, box-sizing or KeyFrames can cause pagination issues.], OPS/style_tag_css.xhtml (8-31) CSS-009, HINT, [Use of certain CSS such as Columns, Transforms, Transitions, box-sizing or KeyFrames can cause pagination issues.], OPS/style_tag_css.xhtml (13-31) CSS-009, HINT, [Use of certain CSS such as Columns, Transforms, Transitions, box-sizing or KeyFrames can cause pagination issues.], OPS/style_tag_css.xhtml (5-28) - ACC-013, HINT, [Content file contains at least one inline style declaration.], OPS/inline_css.xhtml (14-116) ACC-013, HINT, [Content file contains at least one inline style declaration.], OPS/inline_css.xhtml (10-119) - ACC-013, HINT, [Content file contains at least one inline style declaration.], OPS/inline_css.xhtml (15-114) ACC-013, HINT, [Content file contains at least one inline style declaration.], OPS/inline_css.xhtml (11-115) - ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], OPS/external_css.xhtml - ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], OPS/style_tag_css.xhtml - ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], OPS/inline_css.xhtml + ACC-013, HINT, [Content file contains at least one inline style declaration.], OPS/inline_css.xhtml (14-116) + ACC-013, HINT, [Content file contains at least one inline style declaration.], OPS/inline_css.xhtml (15-114) application/epub+zip @@ -51,7 +54,7 @@ CreationDate - 2014-09-05T03:24:40Z + 2016-12-31T01:11:26Z diff --git a/src/test/resources/com/adobe/epubcheck/test/command_line/xmlfile_expected_results.xmp b/src/test/resources/com/adobe/epubcheck/test/command_line/xmlfile_expected_results.xmp index 80ffb674b..bb8748537 100644 --- a/src/test/resources/com/adobe/epubcheck/test/command_line/xmlfile_expected_results.xmp +++ b/src/test/resources/com/adobe/epubcheck/test/command_line/xmlfile_expected_results.xmp @@ -1,14 +1,25 @@ - + Transform Sample Book - 2015-03-30T23:58:11+02:00 + 2016-12-31T01:11:58+01:00 Well-formed @@ -24,26 +35,26 @@ - HTM-010, HINT, Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found. + ACC-008, HINT, Navigation Document has no 'landmarks nav' element. - + - OPF-059, HINT, Spine item has no NCX entry reference. + HTM-010, HINT, Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found. - + - ACC-008, HINT, Navigation Document has no 'landmarks nav' element. + OPF-059, HINT, Spine item has no NCX entry reference. - + @@ -74,7 +85,7 @@ - epubcheck 4.0.0-alpha12-SNAPSHOT + epubcheck 4.0.3-SNAPSHOT diff --git a/src/test/resources/com/adobe/epubcheck/test/css/alternate_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/css/alternate_expected_results.json index bdb8b86b5..06bc7a7e1 100644 --- a/src/test/resources/com/adobe/epubcheck/test/css/alternate_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/css/alternate_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/css/alternate.epub", + "path" : "./com/adobe/epubcheck/test/css/alternate.epub", "filename" : "alternate.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:06:37", - "elapsedTime" : 57, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:11:59", + "elapsedTime" : 104, "nFatal" : 0, "nError" : 1, "nWarning" : 0, @@ -283,7 +283,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "alternate.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -385,4 +385,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/css/columns_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/css/columns_expected_results.json index 509ba34bb..d2382585c 100644 --- a/src/test/resources/com/adobe/epubcheck/test/css/columns_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/css/columns_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/css/columns.epub", + "path" : "./com/adobe/epubcheck/test/css/columns.epub", "filename" : "columns.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:06:37", - "elapsedTime" : 44, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:11:59", + "elapsedTime" : 63, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -266,7 +266,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "columns.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -390,4 +390,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/css/discouraged_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/css/discouraged_expected_results.json index 0872824ef..9ebf11309 100644 --- a/src/test/resources/com/adobe/epubcheck/test/css/discouraged_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/css/discouraged_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/css/discouraged.epub", + "path" : "./com/adobe/epubcheck/test/css/discouraged.epub", "filename" : "discouraged.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:06:37", - "elapsedTime" : 46, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:11:59", + "elapsedTime" : 45, "nFatal" : 0, "nError" : 2, "nWarning" : 2, @@ -310,7 +310,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "discouraged.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -772,4 +772,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/css/discouraged_expected_results.xml b/src/test/resources/com/adobe/epubcheck/test/css/discouraged_expected_results.xml index 6bfa5efa3..7feee1ea2 100644 --- a/src/test/resources/com/adobe/epubcheck/test/css/discouraged_expected_results.xml +++ b/src/test/resources/com/adobe/epubcheck/test/css/discouraged_expected_results.xml @@ -1,8 +1,11 @@ - - 2014-09-05T03:17:16+02:00 + + 2016-12-31T01:11:59+01:00 - 2014-09-05T01:49:14Z + 2016-12-31T01:11:26Z 2012-10-10T12:00:00Z application/epub+zip 3.0.1 @@ -13,18 +16,21 @@ CSS-001, ERROR, [The 'unicode-bidi' property must not be included in an EPUB Style Sheet.], OPS/style.css (55-5) CSS-001, ERROR, [The 'direction' property must not be included in an EPUB Style Sheet.], OPS/inline_css.xhtml (14-22) CSS-001, ERROR, [The 'direction' property must not be included in an EPUB Style Sheet.], OPS/style.css (56-5) - CSS-017, WARN, [CSS selector specifies absolute position.], OPS/style.css (70-5) + CSS-006, WARN, [CSS position:fixed property should not be used in EPUBs.], OPS/style_tag_css.xhtml (38-13) + CSS-006, WARN, [CSS position:fixed property should not be used in EPUBs.], OPS/inline_css.xhtml (15-1) + CSS-006, WARN, [CSS position:fixed property should not be used in EPUBs.], OPS/style.css (66-5) + CSS-017, WARN, [CSS selector specifies absolute position.], OPS/style.css (70-5) CSS-017, WARN, [CSS selector specifies absolute position.], OPS/cssStyles.css (2-5) CSS-017, WARN, [CSS selector specifies absolute position.], OPS/style_tag_css.xhtml (17-13) - CSS-006, WARN, [CSS position:fixed property should not be used in EPUBs.], OPS/style_tag_css.xhtml (38-13) - CSS-006, WARN, [CSS position:fixed property should not be used in EPUBs.], OPS/inline_css.xhtml (15-1) - CSS-006, WARN, [CSS position:fixed property should not be used in EPUBs.], OPS/style.css (66-5) - HTM-010, HINT, [Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.], OPS/toc.ncx (2-68) + ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], OPS/external_css.xhtml + ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], OPS/style_tag_css.xhtml + ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], OPS/inline_css.xhtml + ACC-008, HINT, [Navigation Document has no 'landmarks nav' element.], OPS/toc.xhtml + HTM-010, HINT, [Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.], OPS/toc.ncx (2-68) OPF-059, HINT, [Spine item has no NCX entry reference.], OPS/toc.ncx OPF-059, HINT, [Spine item has no NCX entry reference.], OPS/toc.ncx CSS-012, HINT, [Document links to multiple CSS files.], OPS/external_css.xhtml (6-62) CSS-012, HINT, [Document links to multiple CSS files.], OPS/external_css.xhtml (7-66) - ACC-008, HINT, [Navigation Document has no 'landmarks nav' element.], discouraged.epub ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size.], OPS/style.css (2-5) ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size.], OPS/style.css (7-5) ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size.], OPS/style.css (15-5) @@ -56,33 +62,30 @@ CSS-023, HINT, [CSS selector specifies media query.], OPS/style_tag_css.xhtml (20-9) CSS-025, HINT, [CSS class Selector could not be found.], OPS/style_tag_css.xhtml (54-24) CSS-024, HINT, [CSS class Selector is not used.], OPS/style_tag_css.xhtml (14-9) - CSS-024, HINT, [CSS class Selector is not used.], OPS/unused.css (1-1) - CSS-024, HINT, [CSS class Selector is not used.], OPS/style.css (22-1) - CSS-024, HINT, [CSS class Selector is not used.], OPS/style.css (14-1) + CSS-024, HINT, [CSS class Selector is not used.], OPS/style.css (6-1) CSS-024, HINT, [CSS class Selector is not used.], OPS/style.css (10-1) + CSS-024, HINT, [CSS class Selector is not used.], OPS/style.css (14-1) CSS-024, HINT, [CSS class Selector is not used.], OPS/style.css (18-1) - CSS-024, HINT, [CSS class Selector is not used.], OPS/style.css (34-1) + CSS-024, HINT, [CSS class Selector is not used.], OPS/style.css (22-1) + CSS-024, HINT, [CSS class Selector is not used.], OPS/style.css (30-1) + CSS-024, HINT, [CSS class Selector is not used.], OPS/style.css (34-1) CSS-024, HINT, [CSS class Selector is not used.], OPS/style.css (38-1) CSS-024, HINT, [CSS class Selector is not used.], OPS/style.css (42-1) CSS-024, HINT, [CSS class Selector is not used.], OPS/style.css (46-1) - CSS-024, HINT, [CSS class Selector is not used.], OPS/unused.css (30-1) - CSS-024, HINT, [CSS class Selector is not used.], OPS/style.css (6-1) - CSS-024, HINT, [CSS class Selector is not used.], OPS/style.css (30-1) - CSS-024, HINT, [CSS class Selector is not used.], OPS/unused.css (56-1) CSS-024, HINT, [CSS class Selector is not used.], OPS/style.css (82-1) - CSS-024, HINT, [CSS class Selector is not used.], OPS/unused.css (49-1) - CSS-024, HINT, [CSS class Selector is not used.], OPS/unused.css (36-1) CSS-024, HINT, [CSS class Selector is not used.], OPS/style.css (98-5) + CSS-024, HINT, [CSS class Selector is not used.], OPS/unused.css (1-1) + CSS-024, HINT, [CSS class Selector is not used.], OPS/unused.css (30-1) + CSS-024, HINT, [CSS class Selector is not used.], OPS/unused.css (36-1) + CSS-024, HINT, [CSS class Selector is not used.], OPS/unused.css (49-1) + CSS-024, HINT, [CSS class Selector is not used.], OPS/unused.css (56-1) CSS-024, HINT, [CSS class Selector is not used.], OPS/unused.css (62-1) CSS-024, HINT, [CSS class Selector is not used.], OPS/unused.css (66-3) ACC-013, HINT, [Content file contains at least one inline style declaration.], OPS/inline_css.xhtml (10-54) ACC-013, HINT, [Content file contains at least one inline style declaration.], OPS/inline_css.xhtml (11-97) ACC-013, HINT, [Content file contains at least one inline style declaration.], OPS/inline_css.xhtml (14-50) ACC-013, HINT, [Content file contains at least one inline style declaration.], OPS/inline_css.xhtml (15-41) - ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], OPS/external_css.xhtml - ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], OPS/style_tag_css.xhtml - ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], OPS/inline_css.xhtml - + application/epub+zip @@ -109,7 +112,7 @@ CreationDate - 2014-09-05T01:49:14Z + 2016-12-31T01:11:26Z diff --git a/src/test/resources/com/adobe/epubcheck/test/css/excessive_epub3_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/css/excessive_epub3_expected_results.json index 8915afec1..edc21ad84 100644 --- a/src/test/resources/com/adobe/epubcheck/test/css/excessive_epub3_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/css/excessive_epub3_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/css/excessive_epub3.epub", "filename" : "excessive_epub3.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:17:17", - "elapsedTime" : 213, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:11:59", + "elapsedTime" : 48, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -432,7 +432,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "excessive_epub3.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -451,4 +451,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/css/font-face_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/css/font-face_expected_results.json index 78e0a7843..a8ae61a3b 100644 --- a/src/test/resources/com/adobe/epubcheck/test/css/font-face_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/css/font-face_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/css/font-face.epub", + "path" : "./com/adobe/epubcheck/test/css/font-face.epub", "filename" : "font-face.epub", "checkerVersion" : "4.0.3-SNAPSHOT", - "checkDate" : "12-18-2016 16:57:07", - "elapsedTime" : 53, + "checkDate" : "12-31-2016 01:11:59", + "elapsedTime" : 58, "nFatal" : 0, "nError" : 5, "nWarning" : 1, @@ -332,7 +332,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "font-face.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null diff --git a/src/test/resources/com/adobe/epubcheck/test/css/font-face_expected_results.xmp b/src/test/resources/com/adobe/epubcheck/test/css/font-face_expected_results.xmp index de1b0fddd..afffe4368 100644 --- a/src/test/resources/com/adobe/epubcheck/test/css/font-face_expected_results.xmp +++ b/src/test/resources/com/adobe/epubcheck/test/css/font-face_expected_results.xmp @@ -1,7 +1,18 @@ - + Font Face Sample Book @@ -9,18 +20,18 @@ - - - - - - - - + + + + + + + + - 2016-12-18T16:57:07+01:00 + 2016-12-31T01:11:59+01:00 Not well-formed @@ -124,36 +135,36 @@ - HTM-010, HINT, Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found. + ACC-008, HINT, Navigation Document has no 'landmarks nav' element. - + - OPF-059, HINT, Spine item has no NCX entry reference. + HTM-010, HINT, Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found. - + - CSS-012, HINT, Document links to multiple CSS files. + OPF-059, HINT, Spine item has no NCX entry reference. - - - + + - ACC-008, HINT, Navigation Document has no 'landmarks nav' element. + CSS-012, HINT, Document links to multiple CSS files. - - + + + diff --git a/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_idpf_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_idpf_expected_results.json index b9d815d51..e1ec2ff03 100644 --- a/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_idpf_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_idpf_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/css/font_encryption_idpf.epub", + "path" : "./com/adobe/epubcheck/test/css/font_encryption_idpf.epub", "filename" : "font_encryption_idpf.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:06:38", - "elapsedTime" : 400, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:11:59", + "elapsedTime" : 423, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -557,7 +557,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "font_encryption_idpf.epub", + "path" : "Css-fontface/pages/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -807,4 +807,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one TOC entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_idpf_expected_results.xml b/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_idpf_expected_results.xml index ea65d6eda..5d7122580 100644 --- a/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_idpf_expected_results.xml +++ b/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_idpf_expected_results.xml @@ -1,30 +1,16 @@ - - 2014-09-05T03:17:19+02:00 + + 2016-12-31T01:12:00+01:00 - 2014-09-05T01:49:14Z + 2016-12-31T01:11:26Z 2012-01-20T12:47:00Z application/epub+zip 3.0.1 Well-formed - OPF-058, HINT, [Spine item has no TOC entry reference.], Css-fontface/pages/toc.xhtml - ACC-008, HINT, [Navigation Document has no 'landmarks nav' element.], font_encryption_idpf.epub - ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg1.xhtml (23-56) - ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg1.xhtml (33-44) - ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg1.xhtml (11-51) - ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg1.xhtml (19-55) - ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg1.xhtml (15-52) - ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg2.xhtml (11-68) - ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg2.xhtml (35-61) - ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg2.xhtml (15-69) - ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg2.xhtml (19-72) - ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg2.xhtml (23-73) - ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg3.xhtml (11-69) - ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg3.xhtml (35-62) - ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg3.xhtml (15-70) - ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg3.xhtml (23-74) - ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg3.xhtml (19-73) ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], Css-fontface/pages/cover.xhtml ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], Css-fontface/pages/pg1.xhtml ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], Css-fontface/pages/pg2.xhtml @@ -55,7 +41,24 @@ CSS-028, HINT, [Use of Font-face declaration.], Css-fontface/css/fonts.css (40-5) CSS-028, HINT, [Use of Font-face declaration.], Css-fontface/css/fonts.css (43-5) CSS-028, HINT, [Use of Font-face declaration.], There are 23 additional locations for this message. - + ACC-008, HINT, [Navigation Document has no 'landmarks nav' element.], Css-fontface/pages/toc.xhtml + OPF-058, HINT, [Spine item has no TOC entry reference.], Css-fontface/pages/toc.xhtml + ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg1.xhtml (11-51) + ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg1.xhtml (15-52) + ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg1.xhtml (19-55) + ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg1.xhtml (23-56) + ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg1.xhtml (33-44) + ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg2.xhtml (11-68) + ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg2.xhtml (15-69) + ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg2.xhtml (19-72) + ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg2.xhtml (23-73) + ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg2.xhtml (35-61) + ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg3.xhtml (11-69) + ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg3.xhtml (15-70) + ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg3.xhtml (19-73) + ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg3.xhtml (23-74) + ACC-013, HINT, [Content file contains at least one inline style declaration.], Css-fontface/pages/pg3.xhtml (35-62) + application/epub+zip @@ -82,7 +85,7 @@ CreationDate - 2014-09-05T01:49:14Z + 2016-12-31T01:11:26Z diff --git a/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_idpf_expected_results.xmp b/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_idpf_expected_results.xmp index 5ef8691bd..68cf5adc6 100644 --- a/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_idpf_expected_results.xmp +++ b/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_idpf_expected_results.xmp @@ -1,7 +1,19 @@ - + David @@ -14,22 +26,22 @@ - - - - - - - - - - - - + + + + + + + + + + + + - 2015-03-30T16:15:04+02:00 + 2016-12-31T01:12:01+01:00 Well-formed @@ -79,7 +91,7 @@ - OPF-058, HINT, Spine item has no TOC entry reference. + ACC-008, HINT, Navigation Document has no 'landmarks nav' element. @@ -87,10 +99,10 @@ - ACC-008, HINT, Navigation Document has no 'landmarks nav' element. + OPF-058, HINT, Spine item has no TOC entry reference. - + @@ -120,7 +132,7 @@ - epubcheck 4.0.0-alpha12-SNAPSHOT + epubcheck 4.0.3-SNAPSHOT diff --git a/src/test/resources/com/adobe/epubcheck/test/css/keyframe_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/css/keyframe_expected_results.json index 1d6f12e4c..03e09a207 100644 --- a/src/test/resources/com/adobe/epubcheck/test/css/keyframe_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/css/keyframe_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/css/keyframe.epub", + "path" : "./com/adobe/epubcheck/test/css/keyframe.epub", "filename" : "keyframe.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:06:37", - "elapsedTime" : 46, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:11:59", + "elapsedTime" : 48, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -266,7 +266,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "keyframe.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -378,4 +378,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/css/multiple_epub3_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/css/multiple_epub3_expected_results.json index 0bb2d38ef..2af9c69e4 100644 --- a/src/test/resources/com/adobe/epubcheck/test/css/multiple_epub3_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/css/multiple_epub3_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/css/multiple_epub3.epub", + "path" : "./com/adobe/epubcheck/test/css/multiple_epub3.epub", "filename" : "multiple_epub3.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:06:37", - "elapsedTime" : 42, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:11:59", + "elapsedTime" : 51, "nFatal" : 0, "nError" : 1, "nWarning" : 0, @@ -310,7 +310,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "multiple_epub3.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -380,4 +380,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/css/transform_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/css/transform_expected_results.json index c4618357f..e92b9d12a 100644 --- a/src/test/resources/com/adobe/epubcheck/test/css/transform_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/css/transform_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/css/transform.epub", + "path" : "./com/adobe/epubcheck/test/css/transform.epub", "filename" : "transform.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:06:37", - "elapsedTime" : 44, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:11:59", + "elapsedTime" : 43, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -266,7 +266,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "transform.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -361,4 +361,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/css/transition_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/css/transition_expected_results.json index d7a6d3c0c..a516e2bb2 100644 --- a/src/test/resources/com/adobe/epubcheck/test/css/transition_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/css/transition_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/css/transition.epub", + "path" : "./com/adobe/epubcheck/test/css/transition.epub", "filename" : "transition.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:06:37", - "elapsedTime" : 43, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:11:59", + "elapsedTime" : 45, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -266,7 +266,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "transition.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -378,4 +378,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Epub2_marked_v3_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Epub2_marked_v3_expected_results.json index b577ae692..ed433eeee 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Epub2_marked_v3_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Epub2_marked_v3_expected_results.json @@ -3,13 +3,13 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/opf/Epub2_marked_v3.epub", "filename" : "Epub2_marked_v3.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:15:42", - "elapsedTime" : 222, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:02", + "elapsedTime" : 25, "nFatal" : 0, "nError" : 3, "nWarning" : 0, - "nUsage" : 3 + "nUsage" : 2 }, "publication" : { "publisher" : null, @@ -162,18 +162,6 @@ "context" : null } ], "suggestion" : null - }, { - "ID" : "ACC-008", - "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", - "additionalLocations" : 0, - "locations" : [ { - "path" : "Epub2_marked_v3.epub", - "line" : -1, - "column" : -1, - "context" : null - } ], - "suggestion" : null }, { "ID" : "HTM-004", "severity" : "ERROR", @@ -223,4 +211,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Epub2_marked_v3_expected_results.xml b/src/test/resources/com/adobe/epubcheck/test/opf/Epub2_marked_v3_expected_results.xml index 94c873afa..1816ded39 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Epub2_marked_v3_expected_results.xml +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Epub2_marked_v3_expected_results.xml @@ -1,8 +1,11 @@ - - 2014-09-05T03:15:43+02:00 + + 2016-12-31T01:12:02+01:00 - 2014-09-05T01:49:14Z + 2016-12-31T01:11:26Z application/epub+zip 3.0.1 Not well-formed @@ -10,10 +13,9 @@ RSC-005, ERROR, [Error while parsing file 'package dcterms:modified meta element must occur exactly once'.], OPS/content.opf (3-57) RSC-005, ERROR, [Error while parsing file 'Exactly one manifest item must declare the 'nav' property (number of 'nav' items: 0).'.], OPS/content.opf (8-13) HTM-004, ERROR, [Irregular DOCTYPE: found '-//W3C//DTD XHTML 1.1//EN', expected '<!DOCTYPE html>'.], OPS/page01.xhtml - HTM-010, HINT, [Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.], OPS/toc.ncx (2-68) - ACC-008, HINT, [Navigation Document has no 'landmarks nav' element.], Epub2_marked_v3.epub ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], OPS/page01.xhtml - + HTM-010, HINT, [Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.], OPS/toc.ncx (2-68) + application/epub+zip @@ -40,7 +42,7 @@ CreationDate - 2014-09-05T01:49:14Z + 2016-12-31T01:11:26Z diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Excessive_Spine_Items_epub3_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Excessive_Spine_Items_epub3_expected_results.json index d355c1ffb..2df7349bd 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Excessive_Spine_Items_epub3_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Excessive_Spine_Items_epub3_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/opf/Excessive_Spine_Items_epub3.epub", "filename" : "Excessive_Spine_Items_epub3.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:15:44", - "elapsedTime" : 956, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:02", + "elapsedTime" : 440, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -2493,7 +2493,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "Excessive_Spine_Items_epub3.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -2786,4 +2786,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Excessive_Spine_Items_epub3_fixed_format_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Excessive_Spine_Items_epub3_fixed_format_expected_results.json index f8be7a11a..eb4767179 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Excessive_Spine_Items_epub3_fixed_format_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Excessive_Spine_Items_epub3_fixed_format_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/opf/Excessive_Spine_Items_epub3_fixed_format.epub", "filename" : "Excessive_Spine_Items_epub3_fixed_format.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:15:46", - "elapsedTime" : 802, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:03", + "elapsedTime" : 359, "nFatal" : 0, "nError" : 1, "nWarning" : 0, @@ -2493,7 +2493,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "Excessive_Spine_Items_epub3_fixed_format.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -2923,4 +2923,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Excessive_Spine_Items_epub3_fixed_format_properties_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Excessive_Spine_Items_epub3_fixed_format_properties_expected_results.json index 5fd14618d..79a1aab14 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Excessive_Spine_Items_epub3_fixed_format_properties_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Excessive_Spine_Items_epub3_fixed_format_properties_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/opf/Excessive_Spine_Items_epub3_fixed_format_properties.epub", "filename" : "Excessive_Spine_Items_epub3_fixed_format_properties.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:15:47", - "elapsedTime" : 768, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:04", + "elapsedTime" : 322, "nFatal" : 0, "nError" : 1, "nWarning" : 0, @@ -2493,7 +2493,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "Excessive_Spine_Items_epub3_fixed_format_properties.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -2923,4 +2923,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Fallbacks_epub3_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Fallbacks_epub3_expected_results.json index 54b7c9b3e..b34ac6112 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Fallbacks_epub3_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Fallbacks_epub3_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/opf/Fallbacks_epub3.epub", "filename" : "Fallbacks_epub3.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:15:52", - "elapsedTime" : 154, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:05", + "elapsedTime" : 22, "nFatal" : 0, "nError" : 1, "nWarning" : 0, @@ -239,7 +239,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "Fallbacks_epub3.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -294,4 +294,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Media-type_handler_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Media-type_handler_expected_results.json index 54043541b..d86ea96e6 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Media-type_handler_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Media-type_handler_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/opf/Media-type_handler.epub", + "path" : "./com/adobe/epubcheck/test/opf/Media-type_handler.epub", "filename" : "Media-type_handler.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:06:15", - "elapsedTime" : 313, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:04", + "elapsedTime" : 144, "nFatal" : 0, "nError" : 5, "nWarning" : 0, @@ -447,7 +447,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "Media-type_handler.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -555,4 +555,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Mismatched_mimetypes_epub3_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Mismatched_mimetypes_epub3_expected_results.json index aa7ea7ecc..130553ba5 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Mismatched_mimetypes_epub3_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Mismatched_mimetypes_epub3_expected_results.json @@ -4,8 +4,8 @@ "path" : "./com/adobe/epubcheck/test/opf/Mismatched_mimetypes_epub3.epub", "filename" : "Mismatched_mimetypes_epub3.epub", "checkerVersion" : "4.0.3-SNAPSHOT", - "checkDate" : "12-18-2016 17:28:21", - "elapsedTime" : 83, + "checkDate" : "12-31-2016 01:12:04", + "elapsedTime" : 56, "nFatal" : 0, "nError" : 6, "nWarning" : 0, @@ -278,7 +278,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "Mismatched_mimetypes_epub3.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Missing_NAV_epub3_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Missing_NAV_epub3_expected_results.json index 24835a086..a2bb9addc 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Missing_NAV_epub3_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Missing_NAV_epub3_expected_results.json @@ -3,13 +3,13 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/opf/Missing_NAV_epub3.epub", "filename" : "Missing_NAV_epub3.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:15:40", - "elapsedTime" : 460, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:02", + "elapsedTime" : 21, "nFatal" : 0, "nError" : 1, "nWarning" : 0, - "nUsage" : 3 + "nUsage" : 2 }, "publication" : { "publisher" : null, @@ -162,18 +162,6 @@ "context" : null } ], "suggestion" : null - }, { - "ID" : "ACC-008", - "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", - "additionalLocations" : 0, - "locations" : [ { - "path" : "Missing_NAV_epub3.epub", - "line" : -1, - "column" : -1, - "context" : null - } ], - "suggestion" : null }, { "ID" : "HTM-010", "severity" : "USAGE", @@ -199,4 +187,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Missing_NCX_epub3_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Missing_NCX_epub3_expected_results.json index 2d9c5b0ba..6a9a3cefd 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Missing_NCX_epub3_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Missing_NCX_epub3_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/opf/Missing_NCX_epub3.epub", "filename" : "Missing_NCX_epub3.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:15:41", - "elapsedTime" : 301, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:02", + "elapsedTime" : 22, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -168,7 +168,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "Missing_NCX_epub3.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -187,4 +187,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Missing_Spine_epub3_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Missing_Spine_epub3_expected_results.json index 0c943a492..df07b474e 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Missing_Spine_epub3_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Missing_Spine_epub3_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/opf/Missing_Spine_epub3.epub", "filename" : "Missing_Spine_epub3.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:15:41", - "elapsedTime" : 284, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:02", + "elapsedTime" : 20, "nFatal" : 1, "nError" : 2, "nWarning" : 0, @@ -168,7 +168,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "Missing_Spine_epub3.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -223,4 +223,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Missing_metadata_epub3_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Missing_metadata_epub3_expected_results.json index 7afac730d..7ccd7b0cf 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Missing_metadata_epub3_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Missing_metadata_epub3_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/opf/Missing_metadata_epub3.epub", "filename" : "Missing_metadata_epub3.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "05-30-2015 00:41:52", - "elapsedTime" : 77, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:02", + "elapsedTime" : 31, "nFatal" : 0, "nError" : 3, "nWarning" : 0, @@ -190,7 +190,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "Missing_metadata_epub3.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -245,4 +245,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Missing_unique_id_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Missing_unique_id_expected_results.json index 174c1d74c..b9ff4283c 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Missing_unique_id_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Missing_unique_id_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/opf/Missing_unique_id.epub", "filename" : "Missing_unique_id.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:15:53", - "elapsedTime" : 139, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:05", + "elapsedTime" : 23, "nFatal" : 0, "nError" : 3, "nWarning" : 0, @@ -190,7 +190,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "Missing_unique_id.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -245,4 +245,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Properties_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Properties_expected_results.json index 15a3884b5..713d30ce0 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Properties_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Properties_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/opf/Properties.epub", "filename" : "Properties.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:15:48", - "elapsedTime" : 169, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:05", + "elapsedTime" : 33, "nFatal" : 0, "nError" : 6, "nWarning" : 0, @@ -271,7 +271,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "Properties.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -423,4 +423,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Publication_Metadata_epub3_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Publication_Metadata_epub3_expected_results.json index b2fe69e58..388ce1b77 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Publication_Metadata_epub3_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Publication_Metadata_epub3_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/opf/Publication_Metadata_epub3.epub", "filename" : "Publication_Metadata_epub3.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:15:47", - "elapsedTime" : 147, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:04", + "elapsedTime" : 22, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -190,7 +190,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "Publication_Metadata_epub3.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -209,4 +209,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Publication_Metadata_epub3_expected_results.xml b/src/test/resources/com/adobe/epubcheck/test/opf/Publication_Metadata_epub3_expected_results.xml index 00ea48fdd..fc464b9e9 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Publication_Metadata_epub3_expected_results.xml +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Publication_Metadata_epub3_expected_results.xml @@ -1,16 +1,19 @@ - - 2014-09-05T03:15:48+02:00 + + 2016-12-31T01:12:04+01:00 - 2014-09-05T01:49:14Z + 2016-12-31T01:11:26Z 2013-01-30T12:00:00Z application/epub+zip 3.0.1 Well-formed ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], OPS/page01.xhtml + ACC-008, HINT, [Navigation Document has no 'landmarks nav' element.], OPS/toc.xhtml HTM-010, HINT, [Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.], OPS/toc.ncx (2-68) - ACC-008, HINT, [Navigation Document has no 'landmarks nav' element.], Publication_Metadata_epub3.epub application/epub+zip @@ -38,7 +41,7 @@ CreationDate - 2014-09-05T01:49:14Z + 2016-12-31T01:11:26Z diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/rendition_valid_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/rendition_valid_expected_results.json index bd364009c..983540e52 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/rendition_valid_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/rendition_valid_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/opf/rendition_valid.epub", "filename" : "rendition_valid.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:15:43", - "elapsedTime" : 255, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:02", + "elapsedTime" : 43, "nFatal" : 0, "nError" : 1, "nWarning" : 0, @@ -244,7 +244,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "rendition_valid.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -314,4 +314,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/viewport2_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/viewport2_expected_results.json index 69729b770..f85f3bbdd 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/viewport2_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/viewport2_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/opf/viewport2.epub", + "path" : "./com/adobe/epubcheck/test/opf/viewport2.epub", "filename" : "viewport2.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:19:17", - "elapsedTime" : 90, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:02", + "elapsedTime" : 41, "nFatal" : 0, "nError" : 2, "nWarning" : 0, @@ -271,7 +271,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "viewport2.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -314,4 +314,4 @@ } ], "suggestion" : "The viewport declaration must declare both width and height." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/viewport_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/viewport_expected_results.json index 95158ec15..e30625c01 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/viewport_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/viewport_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/opf/viewport.epub", + "path" : "./com/adobe/epubcheck/test/opf/viewport.epub", "filename" : "viewport.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 00:26:05", - "elapsedTime" : 2259, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:02", + "elapsedTime" : 57, "nFatal" : 0, "nError" : 3, "nWarning" : 0, @@ -406,7 +406,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "viewport.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -525,4 +525,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/package/image_types_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/package/image_types_expected_results.json index cce696a6b..c347cd7df 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/image_types_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/package/image_types_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/package/image_types.epub", + "path" : "./com/adobe/epubcheck/test/package/image_types.epub", "filename" : "image_types.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:06:21", - "elapsedTime" : 653, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:05", + "elapsedTime" : 907, "nFatal" : 0, "nError" : 0, "nWarning" : 1, @@ -300,7 +300,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "image_types.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -331,4 +331,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/package/interesting_paths_epub3_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/package/interesting_paths_epub3_expected_results.json index bd40342bf..8abd4d785 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/interesting_paths_epub3_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/package/interesting_paths_epub3_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/package/interesting_paths_epub3.epub", "filename" : "interesting_paths_epub3.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:15:56", - "elapsedTime" : 125, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:05", + "elapsedTime" : 33, "nFatal" : 0, "nError" : 4, "nWarning" : 3, @@ -310,7 +310,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "interesting_paths_epub3.epub", + "path" : "OPS Content/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -477,4 +477,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/package/interesting_paths_epub3_expected_results.xml b/src/test/resources/com/adobe/epubcheck/test/package/interesting_paths_epub3_expected_results.xml index f9b83ea38..6af1e168a 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/interesting_paths_epub3_expected_results.xml +++ b/src/test/resources/com/adobe/epubcheck/test/package/interesting_paths_epub3_expected_results.xml @@ -1,8 +1,11 @@ - - 2014-09-05T03:15:56+02:00 + + 2016-12-31T01:12:05+01:00 - 2014-09-05T01:49:14Z + 2016-12-31T01:11:26Z 2012-10-10T12:00:00Z application/epub+zip 3.0.1 @@ -10,7 +13,7 @@ RSC-001, ERROR, [File 'OPS Content/Cyrillic_phi.html' could not be found.], interesting_paths_epub3.epub RSC-001, ERROR, [File 'OPS Content/style.' could not be found.], interesting_paths_epub3.epub - RSC-007, ERROR, [Referenced resource 'OPS Content/Cyrillic_phi.html' could not be found in the EPUB.], OPS Content/More XHTML Content/page01.xhtml (13-35) + RSC-007, ERROR, [Referenced resource 'OPS Content/Cyrillic_ะค.xhtml' could not be found in the EPUB.], OPS Content/More XHTML Content/page01.xhtml (13-35) PKG-009, ERROR, [File name contains characters that are not allowed in OCF file names: '"{","}"'.], OPS Content/page{03}.xhtml HTM-014a, WARN, [XHTML Content Document file name 'OPS Content/Cyrillic_phi.html' should have the extension '.xhtml'.], OPS Content/content.opf (14-86) OPF-003, WARN, [Item 'OPS Content/Cyrillic_phi.xhtml' exists in the EPUB, but is not declared in the OPF manifest.], interesting_paths_epub3.epub @@ -24,13 +27,13 @@ ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], OPS Content/More XHTML Content/page01.xhtml ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], XHTML Content/page 02.xhtml ACC-007, HINT, [Content Documents do not use 'epub:type' attributes for semantic inflection.], OPS Content/page{03}.xhtml + ACC-008, HINT, [Navigation Document has no 'landmarks nav' element.], OPS Content/toc.xhtml OPF-058, HINT, [Spine item has no TOC entry reference.], OPS Content/toc.xhtml OPF-058, HINT, [Spine item has no TOC entry reference.], OPS Content/toc.xhtml HTM-010, HINT, [Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.], OPS Content/toc.ncx (2-68) OPF-059, HINT, [Spine item has no NCX entry reference.], OPS Content/toc.ncx OPF-059, HINT, [Spine item has no NCX entry reference.], OPS Content/toc.ncx - ACC-008, HINT, [Navigation Document has no 'landmarks nav' element.], interesting_paths_epub3.epub - + application/epub+zip @@ -57,7 +60,7 @@ CreationDate - 2014-09-05T01:49:14Z + 2016-12-31T01:11:26Z diff --git a/src/test/resources/com/adobe/epubcheck/test/package/missing_mimetype_file_epub3_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/package/missing_mimetype_file_epub3_expected_results.json index b30d0ee3e..bf2bbf049 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/missing_mimetype_file_epub3_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/package/missing_mimetype_file_epub3_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/package/missing_mimetype_file_epub3.epub", "filename" : "missing_mimetype_file_epub3.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:15:56", - "elapsedTime" : 119, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:05", + "elapsedTime" : 29, "nFatal" : 0, "nError" : 1, "nWarning" : 0, @@ -168,7 +168,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "missing_mimetype_file_epub3.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -199,4 +199,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/package/missing_opf_file_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/package/missing_opf_file_expected_results.json index 6c07975c5..11bf42085 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/missing_opf_file_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/package/missing_opf_file_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/package/missing_opf_file.epub", "filename" : "missing_opf_file.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:15:56", - "elapsedTime" : 17, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:05", + "elapsedTime" : 12, "nFatal" : 1, "nError" : 1, "nWarning" : 0, @@ -112,7 +112,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "missing_opf_file.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -155,4 +155,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/package/missing_toc_file_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/package/missing_toc_file_expected_results.json index b4c17b69c..a65b0f4f6 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/missing_toc_file_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/package/missing_toc_file_expected_results.json @@ -3,13 +3,13 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/package/missing_toc_file.epub", "filename" : "missing_toc_file.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:15:55", - "elapsedTime" : 105, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:05", + "elapsedTime" : 20, "nFatal" : 0, "nError" : 1, "nWarning" : 0, - "nUsage" : 3 + "nUsage" : 2 }, "publication" : { "publisher" : null, @@ -184,18 +184,6 @@ "context" : null } ], "suggestion" : null - }, { - "ID" : "ACC-008", - "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", - "additionalLocations" : 0, - "locations" : [ { - "path" : "missing_toc_file.epub", - "line" : -1, - "column" : -1, - "context" : null - } ], - "suggestion" : null }, { "ID" : "HTM-010", "severity" : "USAGE", @@ -221,4 +209,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/package/path_resolution_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/package/path_resolution_expected_results.json index 86503b08b..b29664589 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/path_resolution_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/package/path_resolution_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/package/path_resolution.epub", + "path" : "./com/adobe/epubcheck/test/package/path_resolution.epub", "filename" : "path_resolution.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:19:29", - "elapsedTime" : 196, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:06", + "elapsedTime" : 220, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -359,7 +359,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "path_resolution.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -410,4 +410,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/scripts/XMLHttpRequest_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/scripts/XMLHttpRequest_expected_results.json index 3d123aedc..a59ca2bb0 100644 --- a/src/test/resources/com/adobe/epubcheck/test/scripts/XMLHttpRequest_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/scripts/XMLHttpRequest_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/scripts/XMLHttpRequest.epub", "filename" : "XMLHttpRequest.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:16:20", - "elapsedTime" : 93, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:06", + "elapsedTime" : 30, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -288,7 +288,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "XMLHttpRequest.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -457,4 +457,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/scripts/eval_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/scripts/eval_expected_results.json index c6f1055d1..84c3ee384 100644 --- a/src/test/resources/com/adobe/epubcheck/test/scripts/eval_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/scripts/eval_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/scripts/eval.epub", "filename" : "eval.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:16:20", - "elapsedTime" : 100, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:06", + "elapsedTime" : 32, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -266,7 +266,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "eval.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -446,4 +446,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/scripts/properties_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/scripts/properties_expected_results.json index 5068c9099..09946bbbb 100644 --- a/src/test/resources/com/adobe/epubcheck/test/scripts/properties_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/scripts/properties_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/scripts/properties.epub", "filename" : "properties.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:16:19", - "elapsedTime" : 138, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:06", + "elapsedTime" : 47, "nFatal" : 0, "nError" : 3, "nWarning" : 0, @@ -359,7 +359,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "properties.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -618,4 +618,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/scripts/storage_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/scripts/storage_expected_results.json index 507bdf7fc..d285fb231 100644 --- a/src/test/resources/com/adobe/epubcheck/test/scripts/storage_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/scripts/storage_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/scripts/storage.epub", "filename" : "storage.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:16:20", - "elapsedTime" : 100, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:06", + "elapsedTime" : 29, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -266,7 +266,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "storage.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -471,4 +471,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/scripts/unused_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/scripts/unused_expected_results.json index 4b3d3b75a..984a91629 100644 --- a/src/test/resources/com/adobe/epubcheck/test/scripts/unused_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/scripts/unused_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/scripts/unused.epub", + "path" : "./com/adobe/epubcheck/test/scripts/unused.epub", "filename" : "unused.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:06:34", - "elapsedTime" : 50, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:06", + "elapsedTime" : 39, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -288,7 +288,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "unused.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -419,4 +419,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/toc/fragments_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/toc/fragments_expected_results.json index 295e049a6..d6641a239 100644 --- a/src/test/resources/com/adobe/epubcheck/test/toc/fragments_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/toc/fragments_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/toc/fragments.epub", + "path" : "./com/adobe/epubcheck/test/toc/fragments.epub", "filename" : "fragments.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:06:36", - "elapsedTime" : 46, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:07", + "elapsedTime" : 28, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -217,7 +217,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "fragments.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -248,4 +248,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/toc/invalid_ncx_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/toc/invalid_ncx_expected_results.json index 8fe405418..ccb32472e 100644 --- a/src/test/resources/com/adobe/epubcheck/test/toc/invalid_ncx_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/toc/invalid_ncx_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/toc/invalid_ncx.epub", + "path" : "./com/adobe/epubcheck/test/toc/invalid_ncx.epub", "filename" : "invalid_ncx.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:06:36", - "elapsedTime" : 41, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:07", + "elapsedTime" : 24, "nFatal" : 0, "nError" : 4, "nWarning" : 0, @@ -190,7 +190,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "invalid_ncx.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -262,4 +262,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/toc/missing_epub_type_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/toc/missing_epub_type_expected_results.json index f0a9acef7..d75f68d71 100644 --- a/src/test/resources/com/adobe/epubcheck/test/toc/missing_epub_type_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/toc/missing_epub_type_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/toc/missing_epub_type.epub", "filename" : "missing_epub_type.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:16:23", - "elapsedTime" : 85, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:07", + "elapsedTime" : 34, "nFatal" : 0, "nError" : 1, "nWarning" : 0, @@ -195,7 +195,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "missing_epub_type.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -238,4 +238,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/xhtml/External_media_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/xhtml/External_media_expected_results.json index 756bb783a..c282db0d2 100644 --- a/src/test/resources/com/adobe/epubcheck/test/xhtml/External_media_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/xhtml/External_media_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/xhtml/External_media.epub", + "path" : "./com/adobe/epubcheck/test/xhtml/External_media.epub", "filename" : "External_media.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:06:39", - "elapsedTime" : 47, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:07", + "elapsedTime" : 53, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -305,7 +305,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "External_media.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -336,4 +336,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/xhtml/accessibility_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/xhtml/accessibility_expected_results.json index 4e62fc012..52257f6bd 100644 --- a/src/test/resources/com/adobe/epubcheck/test/xhtml/accessibility_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/xhtml/accessibility_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/xhtml/accessibility.epub", "filename" : "accessibility.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:16:29", - "elapsedTime" : 140, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:08", + "elapsedTime" : 69, "nFatal" : 0, "nError" : 2, "nWarning" : 0, @@ -288,7 +288,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "accessibility.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -414,4 +414,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/xhtml/dtd_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/xhtml/dtd_expected_results.json index c8002d765..77e3ad1a4 100644 --- a/src/test/resources/com/adobe/epubcheck/test/xhtml/dtd_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/xhtml/dtd_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/xhtml/dtd.epub", + "path" : "./com/adobe/epubcheck/test/xhtml/dtd.epub", "filename" : "dtd.epub", - "checkerVersion" : "4.0.2-SNAPSHOT", - "checkDate" : "11-29-2016 13:57:01", - "elapsedTime" : 52, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:07", + "elapsedTime" : 64, "nFatal" : 0, "nError" : 6, "nWarning" : 2, @@ -398,7 +398,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "dtd.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null diff --git a/src/test/resources/com/adobe/epubcheck/test/xhtml/epubcfi_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/xhtml/epubcfi_expected_results.json index 828d32aa0..b7d2956f2 100644 --- a/src/test/resources/com/adobe/epubcheck/test/xhtml/epubcfi_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/xhtml/epubcfi_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/xhtml/epubcfi.epub", "filename" : "epubcfi.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:16:28", - "elapsedTime" : 82, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:07", + "elapsedTime" : 27, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -217,7 +217,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "epubcfi.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -299,4 +299,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/xhtml/html5_deprecated_epub3_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/xhtml/html5_deprecated_epub3_expected_results.json index 2fe78c56d..238c587c3 100644 --- a/src/test/resources/com/adobe/epubcheck/test/xhtml/html5_deprecated_epub3_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/xhtml/html5_deprecated_epub3_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/xhtml/html5_deprecated_epub3.epub", "filename" : "html5_deprecated_epub3.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:16:27", - "elapsedTime" : 86, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:07", + "elapsedTime" : 30, "nFatal" : 0, "nError" : 4, "nWarning" : 0, @@ -190,7 +190,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "html5_deprecated_epub3.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -257,4 +257,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/xhtml/html5_epub3_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/xhtml/html5_epub3_expected_results.json index e671ed529..7f53d73fc 100644 --- a/src/test/resources/com/adobe/epubcheck/test/xhtml/html5_epub3_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/xhtml/html5_epub3_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/xhtml/html5_epub3.epub", "filename" : "html5_epub3.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:16:27", - "elapsedTime" : 81, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:07", + "elapsedTime" : 26, "nFatal" : 1, "nError" : 1, "nWarning" : 0, @@ -234,7 +234,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "html5_epub3.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -325,4 +325,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/xhtml/hyperlinks_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/xhtml/hyperlinks_expected_results.json index 29b7283aa..b10a49e6e 100644 --- a/src/test/resources/com/adobe/epubcheck/test/xhtml/hyperlinks_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/xhtml/hyperlinks_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/xhtml/hyperlinks.epub", + "path" : "./com/adobe/epubcheck/test/xhtml/hyperlinks.epub", "filename" : "hyperlinks.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 10:06:39", - "elapsedTime" : 64, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:07", + "elapsedTime" : 177, "nFatal" : 0, "nError" : 7, "nWarning" : 2, @@ -337,7 +337,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "hyperlinks.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -698,4 +698,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/xhtml/lang_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/xhtml/lang_expected_results.json index 5c9826716..209508f58 100644 --- a/src/test/resources/com/adobe/epubcheck/test/xhtml/lang_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/xhtml/lang_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/xhtml/lang.epub", "filename" : "lang.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:16:28", - "elapsedTime" : 82, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:07", + "elapsedTime" : 38, "nFatal" : 0, "nError" : 2, "nWarning" : 0, @@ -244,7 +244,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "lang.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -369,4 +369,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/xhtml/lorem_pagemaps1_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/xhtml/lorem_pagemaps1_expected_results.json index e40a0b9ae..2f4bb9326 100644 --- a/src/test/resources/com/adobe/epubcheck/test/xhtml/lorem_pagemaps1_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/xhtml/lorem_pagemaps1_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/xhtml/lorem_pagemaps1.epub", "filename" : "lorem_pagemaps1.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:16:29", - "elapsedTime" : 86, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:08", + "elapsedTime" : 28, "nFatal" : 0, "nError" : 1, "nWarning" : 0, @@ -234,7 +234,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "lorem_pagemaps1.epub", + "path" : "EPUB/nav.xhtml", "line" : -1, "column" : -1, "context" : null @@ -335,4 +335,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/xhtml/lorem_pagemaps2_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/xhtml/lorem_pagemaps2_expected_results.json index 193339a59..43069305c 100644 --- a/src/test/resources/com/adobe/epubcheck/test/xhtml/lorem_pagemaps2_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/xhtml/lorem_pagemaps2_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/xhtml/lorem_pagemaps2.epub", "filename" : "lorem_pagemaps2.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:16:29", - "elapsedTime" : 87, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:08", + "elapsedTime" : 26, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -200,7 +200,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "lorem_pagemaps2.epub", + "path" : "EPUB/nav.xhtml", "line" : -1, "column" : -1, "context" : null @@ -282,4 +282,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/xhtml/lorem_pagemaps3_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/xhtml/lorem_pagemaps3_expected_results.json index a8dfd0d53..fb137a763 100644 --- a/src/test/resources/com/adobe/epubcheck/test/xhtml/lorem_pagemaps3_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/xhtml/lorem_pagemaps3_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/xhtml/lorem_pagemaps3.epub", "filename" : "lorem_pagemaps3.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:16:29", - "elapsedTime" : 92, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:08", + "elapsedTime" : 22, "nFatal" : 0, "nError" : 1, "nWarning" : 2, @@ -234,7 +234,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "lorem_pagemaps3.epub", + "path" : "EPUB/nav.xhtml", "line" : -1, "column" : -1, "context" : null @@ -359,4 +359,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/xhtml/media_overlays_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/xhtml/media_overlays_expected_results.json index 8dba2824d..cebd5b49d 100644 --- a/src/test/resources/com/adobe/epubcheck/test/xhtml/media_overlays_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/xhtml/media_overlays_expected_results.json @@ -1,11 +1,11 @@ { "customMessageFileName" : null, "checker" : { - "path" : "./target/test-classes/com/adobe/epubcheck/test/xhtml/media_overlays.epub", + "path" : "./com/adobe/epubcheck/test/xhtml/media_overlays.epub", "filename" : "media_overlays.epub", - "checkerVersion" : "4.0.0-alpha12-SNAPSHOT", - "checkDate" : "03-25-2015 14:49:51", - "elapsedTime" : 3500, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:07", + "elapsedTime" : 660, "nFatal" : 0, "nError" : 3, "nWarning" : 0, @@ -410,7 +410,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "media_overlays.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -769,4 +769,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/xhtml/namespaces_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/xhtml/namespaces_expected_results.json index 00c34efd6..438ec50e3 100644 --- a/src/test/resources/com/adobe/epubcheck/test/xhtml/namespaces_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/xhtml/namespaces_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/xhtml/namespaces.epub", "filename" : "namespaces.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:16:29", - "elapsedTime" : 75, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:08", + "elapsedTime" : 35, "nFatal" : 0, "nError" : 3, "nWarning" : 0, @@ -190,7 +190,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "namespaces.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -269,4 +269,4 @@ } ], "suggestion" : null } ] -} +} \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/xhtml/nesting_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/xhtml/nesting_expected_results.json index 0416f80bc..81f783094 100644 --- a/src/test/resources/com/adobe/epubcheck/test/xhtml/nesting_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/xhtml/nesting_expected_results.json @@ -3,9 +3,9 @@ "checker" : { "path" : "./com/adobe/epubcheck/test/xhtml/nesting.epub", "filename" : "nesting.epub", - "checkerVersion" : "4.0.0-alpha11-SNAPSHOT", - "checkDate" : "09-05-2014 03:16:27", - "elapsedTime" : 88, + "checkerVersion" : "4.0.3-SNAPSHOT", + "checkDate" : "12-31-2016 01:12:07", + "elapsedTime" : 42, "nFatal" : 0, "nError" : 0, "nWarning" : 0, @@ -239,7 +239,7 @@ "message" : "Navigation Document has no 'landmarks nav' element.", "additionalLocations" : 0, "locations" : [ { - "path" : "nesting.epub", + "path" : "OPS/toc.xhtml", "line" : -1, "column" : -1, "context" : null @@ -331,4 +331,4 @@ } ], "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry." } ] -} +} \ No newline at end of file