From 501b25d229de889aae1057fed8a6e98ff2aa2a2b Mon Sep 17 00:00:00 2001 From: Romain Deltour Date: Mon, 27 Apr 2020 23:23:04 +0200 Subject: [PATCH] fix: harmonize quotes usage in messages Fix #1071 --- .../messages/MessageBundle.properties | 332 +++++++++--------- .../epubcheck/schema/20/sch/id-unique.sch | 2 +- .../com/adobe/epubcheck/schema/20/sch/opf.sch | 2 +- .../adobe/epubcheck/schema/20/sch/xhtml.sch | 2 +- .../schema/30/datanav/datanav-xhtml.sch | 12 +- .../schema/30/dict/dict-collection.sch | 4 +- .../epubcheck/schema/30/dict/dict-opf.sch | 20 +- .../epubcheck/schema/30/dict/dict-xhtml.sch | 36 +- .../schema/30/edupub/edu-ocf-metadata.sch | 2 +- .../epubcheck/schema/30/edupub/edu-opf.sch | 6 +- .../schema/30/edupub/edu-structure.sch | 4 +- .../adobe/epubcheck/schema/30/epub-nav-30.sch | 12 +- .../epubcheck/schema/30/epub-xhtml-30.sch | 16 +- .../schema/30/idx/idx-collection.sch | 8 +- .../schema/30/idx/idx-xhtml-index.sch | 4 +- .../epubcheck/schema/30/idx/idx-xhtml.sch | 98 +++--- .../epubcheck/schema/30/media-overlay-30.sch | 2 +- .../epubcheck/schema/30/mod/epub-svg11-re.sch | 2 +- .../epubcheck/schema/30/mod/id-unique.sch | 2 +- .../schema/30/multiple-renditions/mapping.sch | 4 +- .../epubcheck/schema/30/ocf-encryption-30.sch | 2 +- .../epubcheck/schema/30/ocf-metadata-30.sch | 50 +-- .../adobe/epubcheck/schema/30/package-30.sch | 136 +++---- .../schema/30/previews/preview-collection.sch | 8 +- .../schema/30/previews/preview-pub-opf.sch | 4 +- .../adobe/epubcheck/util/messages.properties | 16 +- .../epubcheck/util/css/messages.properties | 16 +- .../adobe/epubcheck/ocf/OCFCheckerTest.java | 2 +- .../test/DTBook/Basic_expected_results.json | 4 +- .../test/api/InputStream_Expected.txt | 2 +- .../test/api/PrintWriter_Expected.txt | 2 +- .../failonwarnings_expected_results.json | 8 +- .../jsonfile_expected_results.json | 4 +- .../passonwarnings_expected_results.json | 4 +- .../severity_error_expected_results.txt | 10 +- ...everity_overrideBadId_expected_results.txt | 66 ++-- ...ty_overrideBadMessage_expected_results.txt | 62 ++-- ...y_overrideBadSeverity_expected_results.txt | 66 ++-- ...y_overrideMissingFile_expected_results.txt | 64 ++-- .../severity_overrideOk_expected_results.txt | 62 ++-- .../severity_usage_expected_results.txt | 64 ++-- .../severity_warning_expected_results.txt | 12 +- .../command_line/xmlfile_expected_results.xmp | 4 +- .../test/css/alternate_expected_results.json | 4 +- .../test/css/columns_expected_results.json | 4 +- .../css/discouraged_expected_results.json | 50 +-- .../test/css/discouraged_expected_results.xml | 60 ++-- .../css/excessive_epub3_expected_results.json | 4 +- .../test/css/font-face_expected_results.json | 30 +- .../test/css/font-face_expected_results.xmp | 24 +- ...ont_encryption_adobe_expected_results.json | 10 +- ...font_encryption_idpf_expected_results.json | 6 +- .../font_encryption_idpf_expected_results.xmp | 6 +- ...t_encryption_unknown_expected_results.json | 10 +- .../test/css/keyframe_expected_results.json | 8 +- .../css/multiple_epub3_expected_results.json | 4 +- .../test/css/transform_expected_results.json | 4 +- .../test/css/transition_expected_results.json | 4 +- .../opf/Epub2_marked_v3_expected_results.json | 6 +- .../opf/Epub3_marked_v2_expected_results.json | 4 +- ...ve_Spine_Items_epub2_expected_results.json | 2 +- ...ve_Spine_Items_epub3_expected_results.json | 4 +- ...s_epub3_fixed_format_expected_results.json | 4 +- ...ed_format_properties_expected_results.json | 4 +- .../opf/Fallbacks_epub2_expected_results.json | 2 +- .../opf/Fallbacks_epub3_expected_results.json | 4 +- .../Media-type_handler_expected_results.json | 12 +- ...ched_mimetypes_epub2_expected_results.json | 14 +- ...ched_mimetypes_epub3_expected_results.json | 14 +- .../Missing_NAV_epub2_expected_results.json | 2 +- .../Missing_NAV_epub3_expected_results.json | 4 +- .../Missing_NCX_epub3_expected_results.json | 2 +- .../Missing_Spine_epub3_expected_results.json | 2 +- ...ssing_metadata_epub2_expected_results.json | 6 +- ...ssing_metadata_epub3_expected_results.json | 8 +- .../Missing_unique_id_expected_results.json | 6 +- .../test/opf/Properties_expected_results.json | 18 +- ...ation_Metadata_epub3_expected_results.json | 4 +- .../test/opf/oebps12_expected_results.json | 8 +- .../opf/rendition_valid_expected_results.json | 4 +- .../test/opf/viewport2_expected_results.json | 4 +- .../test/opf/viewport_expected_results.json | 8 +- .../corrupt_file_expected_results.json | 2 +- .../package/empty_dir_expected_results.json | 2 +- .../empty_mimetype_expected_results.json | 2 +- .../package/image_types_expected_results.json | 6 +- ...eresting_paths_epub2_expected_results.json | 2 +- ...eresting_paths_epub3_expected_results.json | 12 +- ...container_file_epub2_expected_results.json | 2 +- ...container_file_epub3_expected_results.json | 2 +- ..._mimetype_file_epub2_expected_results.json | 4 +- ..._mimetype_file_epub3_expected_results.json | 4 +- .../missing_ncx_file_expected_results.json | 2 +- ...issing_opf_epub_file_expected_results.json | 2 +- .../missing_opf_file_expected_results.json | 8 +- .../missing_toc_file_expected_results.json | 4 +- .../path_resolution_expected_results.json | 4 +- .../wrong_extension_expected_results.json | 2 +- .../wrong_extension_v3_expected_results.json | 2 +- .../package/wrong_type_expected_results.json | 2 +- .../XMLHttpRequest_expected_results.json | 12 +- .../test/scripts/epub2_expected_results.json | 2 +- .../test/scripts/epub2_expected_results.xmp | 2 +- .../test/scripts/eval_expected_results.json | 6 +- .../scripts/properties_expected_results.json | 12 +- .../scripts/storage_expected_results.json | 8 +- .../test/scripts/unused_expected_results.json | 6 +- .../test/toc/fragments_expected_results.json | 4 +- .../toc/invalid_ncx_expected_results.json | 4 +- .../missing_epub_type_expected_results.json | 8 +- .../External_media_expected_results.json | 4 +- .../xhtml/accessibility_expected_results.json | 6 +- .../test/xhtml/dtd_expected_results.json | 14 +- .../test/xhtml/epubcfi_expected_results.json | 4 +- ...ml5_deprecated_epub3_expected_results.json | 4 +- .../xhtml/html5_epub2_expected_results.json | 2 +- .../xhtml/html5_epub3_expected_results.json | 8 +- .../xhtml/hyperlinks_expected_results.json | 12 +- .../test/xhtml/lang_expected_results.json | 8 +- .../xhtml/lorem_noxmlns_expected_results.json | 6 +- .../lorem_pagemaps1_expected_results.json | 6 +- .../lorem_pagemaps2_expected_results.json | 6 +- .../lorem_pagemaps3_expected_results.json | 10 +- .../media_overlays_expected_results.json | 6 +- .../xhtml/namespaces_expected_results.json | 16 +- .../test/xhtml/nesting_expected_results.json | 4 +- .../xhtml/singleline_expected_results.json | 4 +- 127 files changed, 930 insertions(+), 930 deletions(-) diff --git a/src/main/resources/com/adobe/epubcheck/messages/MessageBundle.properties b/src/main/resources/com/adobe/epubcheck/messages/MessageBundle.properties index 316c39cba..d7dd6b77c 100644 --- a/src/main/resources/com/adobe/epubcheck/messages/MessageBundle.properties +++ b/src/main/resources/com/adobe/epubcheck/messages/MessageBundle.properties @@ -4,50 +4,50 @@ INF_001=The previous rule is under review and its severity may change in a future release. See the discussion at %1$s #Accessibility -ACC_001='img' or 'area' HTML element has no 'alt' attribute. -ACC_002='input' HTML element is not referenced by a corresponding label element. -ACC_003=Non-text html elements should include a 'title' attribute for accessibility. -ACC_004=Html 'a' element must have text. -ACC_005=Table heading cells should be identified by 'th' elements for accessibility. -ACC_006=Tables should include a 'thead' element for accessibility. -ACC_007=Content Documents do not use 'epub:type' attributes for semantic inflection. -ACC_008=Navigation Document has no 'landmarks nav' element. -ACC_009=MathML should either have an 'alttext' attribute or 'annotation-xml' child element. +ACC_001="img" or "area" HTML element has no "alt" attribute. +ACC_002="input" HTML element is not referenced by a corresponding label element. +ACC_003=Non-text html elements should include a "title" attribute for accessibility. +ACC_004=Html "a" element must have text. +ACC_005=Table heading cells should be identified by "th" elements for accessibility. +ACC_006=Tables should include a "thead" element for accessibility. +ACC_007=Content Documents do not use "epub:type" attributes for semantic inflection. +ACC_008=Navigation Document has no "landmarks nav" element. +ACC_009=MathML should either have an "alttext" attribute or "annotation-xml" child element. ACC_010=Headings should not be used within blockquote and figure elements. -ACC_011=SVG hyperlinks should have a human-readable title (using the 'title' child element or the 'xlink:title' attribute). +ACC_011=SVG hyperlinks should have a human-readable title (using the "title" child element or the "xlink:title" attribute). ACC_012=Table elements should include a caption element. ACC_013=Content file contains at least one inline style declaration. ACC_013_SUG=Inline styles are not compatible with accessibility settings and display personalization. Use CSS Styles instead. -ACC_014=Value of CSS property 'font-size' does not use a relative size: '%1$s' -ACC_014_SUG=Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'. -ACC_015=Value of CSS property 'line-height' does not use a relative size. -ACC_015_SUG=Acceptable values include percentages, numeric multiples, em multiples, 'normal', or 'inherit'. -ACC_016=Value of CSS property 'font-size' should use a relative size: '%1$s' -ACC_016_SUG=Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'. -ACC_017=Value of CSS property 'line-height' does not use a relative size. -ACC_017_SUG=Acceptable values include percentages, numeric multiples, em multiples, 'normal', or 'inherit'. +ACC_014=Value of CSS property "font-size" does not use a relative size: "%1$s" +ACC_014_SUG=Acceptable values include percentages, em multiples, "larger", "smaller", "normal" or "inherit". +ACC_015=Value of CSS property "line-height" does not use a relative size. +ACC_015_SUG=Acceptable values include percentages, numeric multiples, em multiples, "normal", or "inherit". +ACC_016=Value of CSS property "font-size" should use a relative size: "%1$s" +ACC_016_SUG=Acceptable values include percentages, em multiples, "larger", "smaller", "normal" or "inherit". +ACC_017=Value of CSS property "line-height" does not use a relative size. +ACC_017_SUG=Acceptable values include percentages, numeric multiples, em multiples, "normal", or "inherit". #Checker Errors CHK_001=The custom message overrides file was not found. -CHK_002=Unrecognized custom message id %1$s encountered in message overrides file '%2$s'. -CHK_003=Unrecognized custom message severity '%1$s' encountered in message overrides file '%2$s'. -CHK_004=The custom message contains too many parameters in message overrides file '%1$s'. -CHK_005=The custom suggestion contains too many parameters in message overrides file '%1$s'. -CHK_006=Unable to parse the custom format parameter in message overrides file '%1$s'. -CHK_007=Error encountered while processing custom message file '%1$s': "%2$s". -CHK_008=Error encountered while processing an item '%1$s'; skip other checks for the item. +CHK_002=Unrecognized custom message id %1$s encountered in message overrides file "%2$s". +CHK_003=Unrecognized custom message severity "%1$s" encountered in message overrides file "%2$s". +CHK_004=The custom message contains too many parameters in message overrides file "%1$s". +CHK_005=The custom suggestion contains too many parameters in message overrides file "%1$s". +CHK_006=Unable to parse the custom format parameter in message overrides file "%1$s". +CHK_007=Error encountered while processing custom message file "%1$s": "%2$s". +CHK_008=Error encountered while processing an item "%1$s"; skip other checks for the item. #CSS -CSS_001=The \'%1$s\' property must not be included in an EPUB Style Sheet. +CSS_001=The "%1$s" property must not be included in an EPUB Style Sheet. CSS_002=Empty or NULL reference found. CSS_003=Only UTF-8 and UTF-16 encodings are allowed, detected %1$s. CSS_004=Only UTF-8 and UTF-16 encodings are allowed, detected %1$s BOM. CSS_005=Conflicting alternate style attributes found: %1$s. CSS_006=CSS selector specifies fixed position. -CSS_007=Font-face reference %1$s refers to non-standard font type %2$s. +CSS_007=Font-face reference "%1$s" refers to non-standard font type "%2$s". CSS_008=An error occurred while parsing the CSS: %1$s. CSS_009=Use of certain CSS such as Columns, Transforms, Transitions, box-sizing or KeyFrames can cause pagination issues. -CSS_010=Stylesheet of type other than 'text/css' must have a fallback. +CSS_010=Stylesheet of type other than "text/css" must have a fallback. CSS_011=Excessive number of css files. CSS_011_SUG=Consider merging CSS files to reduce the number of CSS files. CSS_012=Document links to multiple CSS files. @@ -56,10 +56,10 @@ CSS_015=Alternate Stylesheet has no title. CSS_016=Alternate Stylesheet precedes primary stylesheet. CSS_017=CSS selector specifies absolute position. CSS_019=CSS font-face declaration has no attributes. -CSS_020=CSS font selector declaration uses unexpected font-size value '%1$s'. -CSS_020_SUG=Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'. -CSS_021=Shorthand CSS property 'font-family' specifies an invalid System Font. -CSS_021_SUG=Acceptable values include 'caption', 'icon', 'menu', 'message-box', 'small-caption', 'status-bar', or 'inherit'. +CSS_020=CSS font selector declaration uses unexpected font-size value "%1$s". +CSS_020_SUG=Acceptable values include percentages, em multiples, "larger", "smaller", "normal" or "inherit". +CSS_021=Shorthand CSS property "font-family" specifies an invalid System Font. +CSS_021_SUG=Acceptable values include "caption", "icon", "menu", "message-box", "small-caption", "status-bar", or "inherit". CSS_022=CSS selector specifies global margin setting. CSS_023=CSS selector specifies media query. CSS_024=CSS class Selector is not used. @@ -70,44 +70,44 @@ CSS_028=Use of Font-face declaration. #HTM - XHTML related messages HTM_001=Any publication resource that is an XML-based media type must be a valid XML 1.0 document. XML version found: %1$s. -HTM_002=The installed xml parser doesn't support xml version verification. Xml files must be a valid XML 1.0 document. +HTM_002=The installed xml parser doesn’t support xml version verification. Xml files must be a valid XML 1.0 document. HTM_003=External entities are not allowed in EPUB v3 documents. External entity declaration found: %1$s. -HTM_004=Irregular DOCTYPE: found '%1$s', expected '%2$s'. +HTM_004=Irregular DOCTYPE: found "%1$s", expected "%2$s". HTM_005=An external reference was found. HTM_006=An XHTML Named Entity was found. HTM_007=Empty or whitespace-only value of attribute ssml:ph. HTM_008=The src attribute is required. HTM_009=The DOCTYPE provided is obsolete or irregular and can be removed. -HTM_010=Namespace uri '%1$s' was found. +HTM_010=Namespace uri "%1$s" was found. HTM_011=Entity is undeclared. HTM_011_SUG=Define the entity or use the numbered entity instead. HTM_012=Found a link to a CFI in an external book. HTM_013=Intra-Publication CFIs found in document. HTM_014=Invalid file extension for HTML file, expecting (html, htm or xhtml). -HTM_014a=XHTML Content Document file name '%1$s' should have the extension '.xhtml'. +HTM_014a=XHTML Content Document file name "%1$s" should have the extension ".xhtml". HTM_015=HTML4 DOCTYPE definition within EPUB v3. HTM_016=HTML5 DOCTYPE definition within EPUB v2. HTM_017=Content file has different language value in attributes xml:lang and lang. HTM_018=Content file has invalid language value at attribute xml:lang. HTM_019=Content file has invalid language definition at attribute lang. -HTM_020=Content file doesn't contain xml:lang attribute. -HTM_021=Content file doesn't contain lang attribute. +HTM_020=Content file doesn’t contain xml:lang attribute. +HTM_021=Content file doesn’t contain lang attribute. HTM_022=Document may contain excessive DIV or SPAN tags. HTM_022_SUG=Merge DIV or SPAN tags when they are consecutive and use the same style. -HTM_023=An invalid XHTML Named Entity was found: '%1$s'. +HTM_023=An invalid XHTML Named Entity was found: "%1$s". HTM_023_SUG=Check the spelling or use numbered entities instead. -HTM_024=An XHTML Named Entity was found. Only '&' ''' '"e;' '<' or '>' are allowed. +HTM_024=An XHTML Named Entity was found. Only "&" "'" ""e;" "<" or ">" are allowed. HTM_024_SUG=Check the spelling or use numbered entities instead. HTM_025=Non-registered URI scheme type found in href. HTM_027=List contains less than 2 items. HTM_027_SUG=Lists should have more than one item for accessibility. HTM_028=Input html elements should include an id. -HTM_029=Label html elements should include a 'for' attribute referencing the id of an input element. -HTM_033=HTML 'head' element does not have a 'title' child element. +HTM_029=Label html elements should include a "for" attribute referencing the id of an input element. +HTM_033=HTML "head" element does not have a "title" child element. HTM_036=IFrames are highly discouraged. HTM_038=Ensure b, i, em, and strong elements are used in compliance with W3C HTML5 directives. HTM_038_SUG=CSS styles are usually more appropriate for italics or bold text. -HTM_044=Namespace uri '%1$s' was included but not used. +HTM_044=Namespace uri "%1$s" was included but not used. HTM_044_SUG=Remove unused Namespace URIs. HTM_045=Encountered empty href. HTM_045_SUG=Empty hrefs are valid self-references. These should be validated to ensure that this is the desired intent. @@ -115,164 +115,164 @@ HTM_046=Fixed format item has no viewport defined. HTM_046_SUG=A viewport declaration is required for fixed format items. HTM_047=Html viewport is missing height and/or width. HTM_047_SUG=The viewport declaration must declare both width and height. -HTM_048=SVG Fixed-Layout Documents must have a 'viewBox' attribute (on the outermost 'svg' element). -HTM_049=Html element does not have an xmlns set to 'http://www.w3.org/1999/xhtml'. +HTM_048=SVG Fixed-Layout Documents must have a "viewBox" attribute (on the outermost "svg" element). +HTM_049=Html element does not have an xmlns set to "http://www.w3.org/1999/xhtml". HTM_049_SUG=Add xmlns="http://www.w3.org/1999/xhtml" to the html element. HTM_050=Found epub:type="pagebreak" attribute in content document. HTM_051=Found Microdata semantic enrichments but no RDFa. EDUPUB recommends using RDFa Lite. -HTM_052=The property 'region-based' is only allowed on nav elements in Data Navigation Documents. -HTM_053=Found an external file link (file://) in file: '%1$s'. +HTM_052=The property "region-based" is only allowed on nav elements in Data Navigation Documents. +HTM_053=Found an external file link (file://) in file: "%1$s". #media MED_001=Video poster must have core media image type. -MED_002=%1$s element doesn't provide fallback. -MED_003=A manifest fallback must be provided for image resource '%1$s' of type '%2$s'. +MED_002=%1$s element doesn’t provide fallback. +MED_003=A manifest fallback must be provided for image resource "%1$s" of type "%2$s". MED_004=Image file header may be corrupted. MED_005=Media Overlay audio reference %1$s to non-standard audio type %2$s found. MED_006=Some browsers do not support rendering SVG images which use a filename in the xlink:href property. -MED_007=Foreign resources can only be referenced from 'source' elements with an explicit 'type' attribute; found resource '%1$s' of foreign type '%2$s'. +MED_007=Foreign resources can only be referenced from "source" elements with an explicit "type" attribute; found resource "%1$s" of foreign type "%2$s". #NAV EPUB v3 Table of contents NAV_001=The nav file is not supported for EPUB v2. NAV_002=Found epub:type="page-list" in nav document NAV_003=The Navigation Document must have a page list when content document(s) contain page breaks (epub:type="pagebreak"). NAV_004=The Navigation Document should contain the full document heading hierarchy in EDUPUB. -NAV_005=Content documents contain 'audio' elements but the Navigation Document does not have a listing of audio clips (epub:type="loa"). -NAV_006=Content documents contain 'figure' elements but the Navigation Document does not have a listing of figures (epub:type="loi"). -NAV_007=Content documents contain 'table' elements but the Navigation Document does not have a listing of tables (epub:type="lot"). -NAV_008=Content documents contain 'video' elements but the Navigation Document does not have a listing of video clips (epub:type="lov"). +NAV_005=Content documents contain "audio" elements but the Navigation Document does not have a listing of audio clips (epub:type="loa"). +NAV_006=Content documents contain "figure" elements but the Navigation Document does not have a listing of figures (epub:type="loi"). +NAV_007=Content documents contain "table" elements but the Navigation Document does not have a listing of tables (epub:type="lot"). +NAV_008=Content documents contain "video" elements but the Navigation Document does not have a listing of video clips (epub:type="lov"). NAV_009=Region-based navigation links must point to Fixed-Layout Documents. -NAV_010='%1$s' nav must not link to remote resources; found link to '%2$s'. -NAV_011='%1$s' nav must be in reading order; link target '%2$s' is before the previous link's target in %3$s order. +NAV_010="%1$s" nav must not link to remote resources; found link to "%2$s". +NAV_011="%1$s" nav must be in reading order; link target "%2$s" is before the previous link’s target in %3$s order. NAV_011_SUG.spine=spine NAV_011_SUG.document=document #NCX EPUB v2 Table of Contents -NCX_001=NCX identifier ('%1$s') does not match OPF identifier ('%2$s'). +NCX_001=NCX identifier ("%1$s") does not match OPF identifier ("%2$s"). NCX_002=toc attribute was not found on the spine element. NCX_003=An .NCX file is required for TOC navigation on EPUB v2 readers. -NCX_004=NCX identifier ('dtb:uid' metadata) should not contain leading or trailing whitespace. +NCX_004=NCX identifier ("dtb:uid" metadata) should not contain leading or trailing whitespace. NCX_005=Found ncx "page-list" in .ncx file NCX_006=Empty "text" label in the NCX document #OPF OPF_001=There was an error when parsing the EPUB version: %1$s. -OPF_002=The OPF file '%1$s' was not found in the EPUB. -OPF_003=Item '%1$s' exists in the EPUB, but is not declared in the OPF manifest. +OPF_002=The OPF file "%1$s" was not found in the EPUB. +OPF_003=Item "%1$s" exists in the EPUB, but is not declared in the OPF manifest. OPF_004=Invalid prefix declaration: leading or trailing whitespace is not allowed. OPF_004a=Invalid prefix declaration: found empty prefix. -OPF_004b=Invalid prefix '%1$s': must be a valid non-colonized name (aka 'NCName'). -OPF_004c=Invalid prefix declaration: prefix '%1$s' must be immediately followed by a colon character (':'). -OPF_004d=Invalid prefix declaration: prefix '%1$s' must be separated by its URI with a space. +OPF_004b=Invalid prefix "%1$s": must be a valid non-colonized name (aka "NCName"). +OPF_004c=Invalid prefix declaration: prefix "%1$s" must be immediately followed by a colon character (":"). +OPF_004d=Invalid prefix declaration: prefix "%1$s" must be separated by its URI with a space. OPF_004e=Invalid prefix declaration: found illegal whitespace between prefix and URI. OPF_004f=Invalid prefix declaration: found illegal whitespace between prefix mappings. -OPF_005=Invalid prefix declaration: URI for prefix '%1$s' doesn't exist. -OPF_006=Invalid prefix declaration: URI '%1$s' is not a valid URI. -OPF_007=Re-declaration of reserved prefix '%1$s'. -OPF_007a=Invalid prefix mapping: prefix '_' must not be declared. -OPF_007b=Invalid prefix mapping: default vocabulary '%1$s' must not be re-declared. -OPF_008=Handler binding for core Media-type '%1$s' is not allowed. -OPF_009=The media-type '%1$s' has already been assigned a handler, with ID '%2$s'. -OPF_010=Error resolving reference: '%1$s'. -OPF_011=itemref can't have both page-spread-right and page-spread-left properties. -OPF_012=Item property '%1$s' is not defined for media type '%2$s'. -OPF_013=The type property '%1$s' on the object tag does not match the declared media-type '%2$s' in the OPF manifest. -OPF_014=The property '%1$s' should be declared in the OPF file. -OPF_015=The property '%1$s' should not be declared in the OPF file. -OPF_016=The element \"rootfile\" is missing its required attribute \"full-path\". -OPF_017=The attribute \"full-path\" on element \"rootfile\" must not be empty. -OPF_018=The 'remote-resources' property was declared in the Package Document, but no reference to remote resources has been found. -OPF_018b=The 'remote-resources' property was declared in the Package Document, but no reference to remote resources has been found; please check scripted content to make sure the property is legit. +OPF_005=Invalid prefix declaration: URI for prefix "%1$s" doesn’t exist. +OPF_006=Invalid prefix declaration: URI "%1$s" is not a valid URI. +OPF_007=Re-declaration of reserved prefix "%1$s". +OPF_007a=Invalid prefix mapping: prefix "_" must not be declared. +OPF_007b=Invalid prefix mapping: default vocabulary "%1$s" must not be re-declared. +OPF_008=Handler binding for core Media-type "%1$s" is not allowed. +OPF_009=The media-type "%1$s" has already been assigned a handler, with ID "%2$s". +OPF_010=Error resolving reference: "%1$s". +OPF_011=itemref can’t have both page-spread-right and page-spread-left properties. +OPF_012=Item property "%1$s" is not defined for media type "%2$s". +OPF_013=The type property "%1$s" on the object tag does not match the declared media-type "%2$s" in the OPF manifest. +OPF_014=The property "%1$s" should be declared in the OPF file. +OPF_015=The property "%1$s" should not be declared in the OPF file. +OPF_016=The element "rootfile" is missing its required attribute "full-path". +OPF_017=The attribute "full-path" on element "rootfile" must not be empty. +OPF_018=The "remote-resources" property was declared in the Package Document, but no reference to remote resources has been found. +OPF_018b=The "remote-resources" property was declared in the Package Document, but no reference to remote resources has been found; please check scripted content to make sure the property is legit. OPF_019=Spine tag was not found in the OPF file. OPF_020=Excessive number of spine items. -OPF_021=Use of non-registered URI scheme type in href: '%1$s'. -OPF_025=Property value list '%1$s' is not allowed, only one value must be specified. -OPF_026=Found malformed property value: '%1$s'. -OPF_027=Undefined property: '%1$s'. -OPF_028=Undeclared prefix: '%1$s'. -OPF_029=The file '%1$s' does not appear to match the media type %2$s, as specified in the OPF file. -OPF_030=The unique-identifier '%1$s' was not found. +OPF_021=Use of non-registered URI scheme type in href: "%1$s". +OPF_025=Property value list "%1$s" is not allowed, only one value must be specified. +OPF_026=Found malformed property value: "%1$s". +OPF_027=Undefined property: "%1$s". +OPF_028=Undeclared prefix: "%1$s". +OPF_029=The file "%1$s" does not appear to match the media type %2$s, as specified in the OPF file. +OPF_030=The unique-identifier "%1$s" was not found. OPF_031=File listed in reference element in guide was not declared in OPF manifest: %1$s. -OPF_032=Guide references '%1$s' which is not a valid 'OPS Content Document'. +OPF_032=Guide references "%1$s" which is not a valid "OPS Content Document". OPF_033=The spine contains no linear resources. -OPF_034=The spine contains multiple references to the manifest item with id '%1$s'. -OPF_035=Media type 'text/html' is not appropriate for XHTML/OPS. -OPF_035_SUG=Use 'application/xhtml+xml' instead. -OPF_036=Video type '%1$s' might not be supported by reading systems -OPF_036_SUG=Use 'video/mp4', 'video/h264' or 'video/webm' instead. -OPF_037=Found deprecated media-type '%1$s'. -OPF_038=Media type '%1$s' is not appropriate for an OEBPS 1.2 context; Use 'text/x-oeb1-document' instead. -OPF_039=Media-type '%1$s' is not appropriate in an OEBPS 1.2 context. Use 'text/x-oeb1-css' instead. +OPF_034=The spine contains multiple references to the manifest item with id "%1$s". +OPF_035=Media type "text/html" is not appropriate for XHTML/OPS. +OPF_035_SUG=Use "application/xhtml+xml" instead. +OPF_036=Video type "%1$s" might not be supported by reading systems +OPF_036_SUG=Use "video/mp4", "video/h264" or "video/webm" instead. +OPF_037=Found deprecated media-type "%1$s". +OPF_038=Media type "%1$s" is not appropriate for an OEBPS 1.2 context; Use "text/x-oeb1-document" instead. +OPF_039=Media-type "%1$s" is not appropriate in an OEBPS 1.2 context. Use "text/x-oeb1-css" instead. OPF_040=Fallback item could not be found. OPF_041=Fallback-style item could not be found. -OPF_042='%1$s' is not a permissible spine media-type. -OPF_043=Spine item with non-standard media-type '%1$s' has no fallback. -OPF_044=Spine item with non-standard media-type '%1$s' has a fallback to non-standard media-type. +OPF_042="%1$s" is not a permissible spine media-type. +OPF_043=Spine item with non-standard media-type "%1$s" has no fallback. +OPF_044=Spine item with non-standard media-type "%1$s" has a fallback to non-standard media-type. OPF_045=Encountered circular reference in fallback chain. OPF_046=Scripted property is not set on mediaType handler. OPF_047=OPF file is using OEBPS 1.2 syntax allowing backwards compatibility. OPF_048=Package tag is missing its required unique-identifier attribute and value. -OPF_049=Item id '%1$s' was not found in the manifest. -OPF_050=TOC attribute references resource with non-NCX mime type; 'application/x-dtbncx+xml' is expected. +OPF_049=Item id "%1$s" was not found in the manifest. +OPF_050=TOC attribute references resource with non-NCX mime type; "application/x-dtbncx+xml" is expected. OPF_051=Image dimensions exceed recommended size. -OPF_052=Role value '%1$s' is not valid. -OPF_053=Date value '%1$s' does not follow recommended syntax as per http://www.w3.org/TR/NOTE-datetime:%2$s. -OPF_054=Date value '%1$s' is not valid as per http://www.w3.org/TR/NOTE-datetime:%2$s. +OPF_052=Role value "%1$s" is not valid. +OPF_053=Date value "%1$s" does not follow recommended syntax as per http://www.w3.org/TR/NOTE-datetime:%2$s. +OPF_054=Date value "%1$s" is not valid as per http://www.w3.org/TR/NOTE-datetime:%2$s. OPF_055=%1$s tag is empty. -OPF_056=Media type '%1$s' is not a core audio type. +OPF_056=Media type "%1$s" is not a core audio type. OPF_057=Image file length exceeds recommended size. -OPF_058=Spine item '%1$s' is not referenced from the TOC in the Nav Doc. +OPF_058=Spine item "%1$s" is not referenced from the TOC in the Nav Doc. OPF_058_SUG=Every spine item in the manifest should be referenced by at least one TOC entry in the Nav Doc. -OPF_059=Spine item '%1$s' is not referenced from the TOC in the NCX. +OPF_059=Spine item "%1$s" is not referenced from the TOC in the NCX. OPF_059_SUG=Every spine item in the manifest should be referenced by at least one TOC entry in the NCX file. -OPF_060=Duplicate entry in the ZIP file: '%1$s'. -OPF_061=Duplicate entry in the ZIP file (after Unicode NFC normalization) '%1$s'. +OPF_060=Duplicate entry in the ZIP file: "%1$s". +OPF_061=Duplicate entry in the ZIP file (after Unicode NFC normalization) "%1$s". OPF_062=Found Adobe page-map attribute on spine element in opf file. -OPF_063=Referenced Adobe page-map item '%1$s' was not found in the manifest. -OPF_064=OPF declares type '%1$s', validating using profile '%2$s'. -OPF_065=Invalid metadata declaration, probably due to a cycle in 'refines' metadata. -OPF_066=Missing 'dc:source' or 'source-of' pagination metadata. The pagination source must be identified using the 'dc:source' and 'source-of' properties when the content includes page break markers. -OPF_067=The resource '%1$s' must not be listed both as a 'link' element in the package metadata and as a manifest item. -OPF_068=Unknown collection role '%1$s'. -OPF_069=Custom collection role URI '%1$s' must not include the string 'idpf.org' in its host component. -OPF_070=Custom collection role '%1$s' is an invalid URI. +OPF_063=Referenced Adobe page-map item "%1$s" was not found in the manifest. +OPF_064=OPF declares type "%1$s", validating using profile "%2$s". +OPF_065=Invalid metadata declaration, probably due to a cycle in "refines" metadata. +OPF_066=Missing "dc:source" or "source-of" pagination metadata. The pagination source must be identified using the "dc:source" and "source-of" properties when the content includes page break markers. +OPF_067=The resource "%1$s" must not be listed both as a "link" element in the package metadata and as a manifest item. +OPF_068=Unknown collection role "%1$s". +OPF_069=Custom collection role URI "%1$s" must not include the string "idpf.org" in its host component. +OPF_070=Custom collection role "%1$s" is an invalid URI. OPF_071=Index collections must only contain resources pointing to XHTML Content Documents. -OPF_072=Metadata element '%1$s' is empty. +OPF_072=Metadata element "%1$s" is empty. OPF_073=External identifiers must not appear in the document type declaration. -OPF_074=Package resource '%1$s' is declared in several manifest item. +OPF_074=Package resource "%1$s" is declared in several manifest item. OPF_075=Preview collections must only point to EPUB Content Documents. OPF_076=The URI of preview collections link elements must not include EPUB canonical fragment identifiers. OPF_077=A Data Navigation Document should not be included in the spine. -OPF_078=An EPUB Dictionary must contain at least one Content Document with dictionary content (epub:type 'dictionary'). -OPF_079=Dictionary content was found (epub:type 'dictionary'), the Package Document should declare the dc:type 'dictionary'. -OPF_080=A Search Key Map document file name should have the extension '.xml'. -OPF_081=Resource '%1$s' (referenced from an EPUB Dictionary collection) was not found. +OPF_078=An EPUB Dictionary must contain at least one Content Document with dictionary content (epub:type "dictionary"). +OPF_079=Dictionary content was found (epub:type "dictionary"), the Package Document should declare the dc:type "dictionary". +OPF_080=A Search Key Map document file name should have the extension ".xml". +OPF_081=Resource "%1$s" (referenced from an EPUB Dictionary collection) was not found. OPF_082=Found an EPUB Dictionary collection containing more than one Search Key Map Document. OPF_083=Found an EPUB Dictionary collection containing no Search Key Map Document. -OPF_084=Found an EPUB Dictionary collection containing resource '%1$s' which is neither a Search Key Map Document nor an XHTML Content Document. -OPF_085='dc:identifier' value '%1$s' is marked as a UUID, but is an invalid UUID. -OPF_086=Property '%1$s' is deprecated. Consider using %2$s instead. +OPF_084=Found an EPUB Dictionary collection containing resource "%1$s" which is neither a Search Key Map Document nor an XHTML Content Document. +OPF_085="dc:identifier" value "%1$s" is marked as a UUID, but is an invalid UUID. +OPF_086=Property "%1$s" is deprecated. Consider using %2$s instead. OPF_086_SUG.default=a custom prefixed property -OPF_086_SUG.marc21xml-record=the 'record' keyword and the media-type "application/marcxml+xml" -OPF_086_SUG.mods-record=the 'record' keyword and the media-type "application/mods+xml" -OPF_086_SUG.onix-record=the 'record' keyword with the properties attribute value 'onix' +OPF_086_SUG.marc21xml-record=the "record" keyword and the media-type "application/marcxml+xml" +OPF_086_SUG.mods-record=the "record" keyword and the media-type "application/mods+xml" +OPF_086_SUG.onix-record=the "record" keyword with the properties attribute value "onix" OPF_086_SUG.xml-signature=no signature-identifying link -OPF_086_SUG.xmp-record=the 'record' keyword with the properties attribute value 'xmp' -OPF_086b=epub:type value '%1$s' is deprecated. Consider using %2$s instead. +OPF_086_SUG.xmp-record=the "record" keyword with the properties attribute value "xmp" +OPF_086b=epub:type value "%1$s" is deprecated. Consider using %2$s instead. OPF_086b_SUG.default=a custom prefixed value OPF_086b_SUG.annoref=open annotations OPF_086b_SUG.annotation=open annotations -OPF_086b_SUG.help=the 'tip' property -OPF_086b_SUG.marginalia=a bare 'aside' element -OPF_086b_SUG.note=a 'footnote' or 'endnote' property -OPF_086b_SUG.rearnote=the 'endnote' property -OPF_086b_SUG.rearnotes=the 'endnotes' property -OPF_086b_SUG.sidebar=a bare 'aside' element -OPF_086b_SUG.warning=the 'notice' property -OPF_087=epub:type value '%1$s' is not allowed on documents of type '%2$s'. -OPF_088=Unrecognized epub:type value '%1$s'. -OPF_089=The 'alternate' link rel keyword cannot be paired with other keywords. -OPF_090=It is encouraged to use MIME media type '%1$s' instead of '%2$s'. +OPF_086b_SUG.help=the "tip" property +OPF_086b_SUG.marginalia=a bare "aside" element +OPF_086b_SUG.note=a "footnote" or "endnote" property +OPF_086b_SUG.rearnote=the "endnote" property +OPF_086b_SUG.rearnotes=the "endnotes" property +OPF_086b_SUG.sidebar=a bare "aside" element +OPF_086b_SUG.warning=the "notice" property +OPF_087=epub:type value "%1$s" is not allowed on documents of type "%2$s". +OPF_088=Unrecognized epub:type value "%1$s". +OPF_089=The "alternate" link rel keyword cannot be paired with other keywords. +OPF_090=It is encouraged to use MIME media type "%1$s" instead of "%2$s". #Package PKG_001=Validating the EPUB against version %1$s but detected version %2$s. @@ -280,38 +280,38 @@ PKG_003=Unable to read EPUB file header. This is likely a corrupted EPUB file. PKG_004=Corrupted EPUB ZIP header. PKG_005=The mimetype file has an extra field of length %1$s. The use of the extra field feature of the ZIP format is not permitted for the mimetype file. PKG_006=Mimetype file entry is missing or is not the first file in the archive. -PKG_007=Mimetype file should only contain the string 'application/epub+zip' and should not be compressed. -PKG_008=Unable to read file '%1$s'. -PKG_009=File name contains characters that are not allowed in OCF file names: '%1$s'. +PKG_007=Mimetype file should only contain the string "application/epub+zip" and should not be compressed. +PKG_008=Unable to read file "%1$s". +PKG_009=File name contains characters that are not allowed in OCF file names: "%1$s". PKG_010=Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename. -PKG_011=Filename is not allowed to end with '.'. +PKG_011=Filename is not allowed to end with ".". PKG_012=File name contains the following non-ascii characters: %1$s. Consider changing the filename. PKG_013=The EPUB file includes multiple OPS renditions. -PKG_014=The EPUB contains empty directory '%1$s'. +PKG_014=The EPUB contains empty directory "%1$s". PKG_015=Unable to read EPUB contents: %1$s PKG_016=Use only lowercase characters for the EPUB file extension for maximum compatibility. -PKG_016_SUG=For maximum compatibility, use '.epub'. +PKG_016_SUG=For maximum compatibility, use ".epub". PKG_017=Uncommon EPUB file extension. -PKG_017_SUG=For maximum compatibility, use '.epub'. +PKG_017_SUG=For maximum compatibility, use ".epub". PKG_018=The EPUB file could not be found. -PKG_020=OPF file '%1$s' could not be found. +PKG_020=OPF file "%1$s" could not be found. PKG_021=Corrupted image file encountered. -PKG_022=Wrong file extension for image. The image is a '%1$s' file but has the file extension '%2$s'. +PKG_022=Wrong file extension for image. The image is a "%1$s" file but has the file extension "%2$s". PKG_023=Validating the EPUB against version 2.0, default validation profile will be used. PKG_024=Uncommon EPUB file extension. -PKG_024_SUG=For maximum compatibility, use '.epub'. +PKG_024_SUG=For maximum compatibility, use ".epub". #Resources -RSC_001=File '%1$s' could not be found. +RSC_001=File "%1$s" could not be found. RSC_002=Required META-INF/container.xml resource could not be found. -RSC_003=No rootfile tag with media type 'application/oebps-package+xml' was found in the container. -RSC_004=File '%1$s' could not be decrypted. +RSC_003=No rootfile tag with media type "application/oebps-package+xml" was found in the container. +RSC_004=File "%1$s" could not be decrypted. RSC_005=Error while parsing file: %1$s RSC_006=Remote resource reference not allowed; resource must be placed in the OCF. -RSC_006b=Resource '%1$s' is located outside the EPUB Container; please check the resource is retrieved in scripted content. -RSC_007=Referenced resource '%1$s' could not be found in the EPUB. -RSC_007w=Referenced resource '%1$s' could not be found in the EPUB. -RSC_008=Referenced resource '%1$s' is not declared in the OPF manifest. +RSC_006b=Resource "%1$s" is located outside the EPUB Container; please check the resource is retrieved in scripted content. +RSC_007=Referenced resource "%1$s" could not be found in the EPUB. +RSC_007w=Referenced resource "%1$s" could not be found in the EPUB. +RSC_008=Referenced resource "%1$s" is not declared in the OPF manifest. RSC_009=A non-SVG image resource should not be defined with a fragment identifier. RSC_010=Reference to non-standard resource type found. RSC_011=Found a reference to a resource that is not a spine item. @@ -321,12 +321,12 @@ RSC_014=Fragment identifier defines an incompatible resource type. RSC_015=A fragment identifier is required for svg use tag references. RSC_016=Fatal Error while parsing file: %1$s RSC_017=Warning while parsing file: %1$s -RSC_018=Alternative image file '%1$s' could not be found. +RSC_018=Alternative image file "%1$s" could not be found. RSC_019=EPUBs with Multiple Renditions should contain a META-INF/metadata.xml file. -RSC_020='%1$s' is not a valid URI. -RSC_021=A Search Key Map Document must point to Content Documents ('%1$s' was not found in the spine). +RSC_020="%1$s" is not a valid URI. +RSC_021=A Search Key Map Document must point to Content Documents ("%1$s" was not found in the spine). RSC_022=Cannot check image details (requires Java version 7 or higher). -RSC_023=Couldn't parse host of URL '%1$s' (probably due to disallowed characters or missing slashes after the protocol) +RSC_023=Couldn’t parse host of URL "%1$s" (probably due to disallowed characters or missing slashes after the protocol) #Scripting SCP_001=Use of Javascript eval() function in EPUB scripts is a security risk. @@ -335,10 +335,10 @@ SCP_003=Local and Session Storage is not currently supported. SCP_004=Content file contains script which is not supported in EPUB v2. SCP_005=Content file contains script but it is not marked as scripted. SCP_006=Inline scripts found. -SCP_007=Script references 'innerHtml'. +SCP_007=Script references "innerHtml". SCP_007_SUG=Use a DOM instead. -SCP_008=Script references 'innerText'. -SCP_008_SUG=Use 'textContent' instead. +SCP_008=Script references "innerText". +SCP_008_SUG=Use "textContent" instead. SCP_009=Content file uses mouse event handlers. SCP_009_SUG=Ensure that all mouse driven functionality is accessible from the keyboard and touch devices. SCP_010=Epub 3 content file contains script. diff --git a/src/main/resources/com/adobe/epubcheck/schema/20/sch/id-unique.sch b/src/main/resources/com/adobe/epubcheck/schema/20/sch/id-unique.sch index 2a024d3d3..f887ca0cb 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/20/sch/id-unique.sch +++ b/src/main/resources/com/adobe/epubcheck/schema/20/sch/id-unique.sch @@ -5,7 +5,7 @@ Duplicate '' + >Duplicate "" diff --git a/src/main/resources/com/adobe/epubcheck/schema/20/sch/opf.sch b/src/main/resources/com/adobe/epubcheck/schema/20/sch/opf.sch index 3e5b286b4..5ebf97f34 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/20/sch/opf.sch +++ b/src/main/resources/com/adobe/epubcheck/schema/20/sch/opf.sch @@ -20,7 +20,7 @@ count(//opf:reference[ normalize-space(lower-case(@type)) = $current_type_normalized and normalize-space(lower-case(@href)) = $current_href_normalized - ]) le 1">WARNING: Duplicate 'reference' elements with the same 'type' and 'href' attributes + ]) le 1">WARNING: Duplicate "reference" elements with the same "type" and "href" attributes diff --git a/src/main/resources/com/adobe/epubcheck/schema/20/sch/xhtml.sch b/src/main/resources/com/adobe/epubcheck/schema/20/sch/xhtml.sch index 7d70cfac1..27ddc41aa 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/20/sch/xhtml.sch +++ b/src/main/resources/com/adobe/epubcheck/schema/20/sch/xhtml.sch @@ -4,7 +4,7 @@ - The a element cannot contain any nested a + The "a" element cannot contain any nested "a" elements. diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/datanav/datanav-xhtml.sch b/src/main/resources/com/adobe/epubcheck/schema/30/datanav/datanav-xhtml.sch index 80ce704fd..3526aa250 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/30/datanav/datanav-xhtml.sch +++ b/src/main/resources/com/adobe/epubcheck/schema/30/datanav/datanav-xhtml.sch @@ -6,8 +6,8 @@ - A 'nav' element in a Data Navigation Document - must have an 'epub:type' attribute (to identify the nature of the navigation + A "nav" element in a Data Navigation Document + must have an "epub:type" attribute (to identify the nature of the navigation component it contains). @@ -21,19 +21,19 @@ The first child of a region-based nav - list item must be either an 'a' or 'span' element. + list item must be either an "a" or "span" element. The first child of - a region-based nav list item can only be followed by a single 'ol' element. + a region-based nav list item can only be followed by a single "ol" element. - WARNING: 'a' elements in region-based navs should not contain text labels. + WARNING: "a" elements in region-based navs should not contain text labels. - 'span'elements in region-base navs must contain exactly two 'a' elements. + "span" elements in region-base navs must contain exactly two "a" elements. diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/dict/dict-collection.sch b/src/main/resources/com/adobe/epubcheck/schema/30/dict/dict-collection.sch index 864cbd607..5a539852e 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/30/dict/dict-collection.sch +++ b/src/main/resources/com/adobe/epubcheck/schema/30/dict/dict-collection.sch @@ -16,13 +16,13 @@ test=" exists(/opf:package/opf:metadata/opf:meta[normalize-space(@property) = 'source-language'] | opf:metadata/opf:meta[normalize-space(@property) = 'source-language'])" - >An EPUB Dictionary must declare its source language using a 'source-language' + >An EPUB Dictionary must declare its source language using a "source-language" metadata. An EPUB Dictionary must declare its source language using a 'target-language' + >An EPUB Dictionary must declare its source language using a "target-language" metadata. The dc:type identifier - 'dictionary' is required. + "dictionary" is required. @@ -22,18 +22,18 @@ ]) = 1" >An EPUB Publication consisting of a single EPUB Dictionary must contain exactly one Search Key Map document for this dictionary (i.e. exactly one item with properties - 'search-key-map' and 'dictionary'). + "search-key-map" and "dictionary"). An EPUB Dictionary must declare its source language using a 'source-language' + >An EPUB Dictionary must declare its source language using a "source-language" metadata. An EPUB Dictionary must declare its source language using a 'target-language' + >An EPUB Dictionary must declare its source language using a "target-language" metadata. Search Key Map Document '' is referenced in more than one + >Search Key Map Document "" is referenced in more than one dictionary collection. @@ -57,8 +57,8 @@ 'target-language')]"> EPUB Dictionaries 'source-language' and 'target-language' must also be declared as - 'dc:language' in package-level metadata. + >EPUB Dictionaries "source-language" and "target-language" must also be declared as + "dc:language" in package-level metadata. @@ -74,9 +74,9 @@ 'spelling', 'pronouncing', 'etymological')" - >EPUB Dictionaries 'dictionary-type' metadata must be one of 'monolingual', - 'bilingual', 'multilingual', 'thesaurus', 'encyclopedia', 'spelling', 'pronouncing', - or 'etymological'. + >EPUB Dictionaries "dictionary-type" metadata must be one of "monolingual", + "bilingual", "multilingual", "thesaurus", "encyclopedia", "spelling", "pronouncing", + or "etymological". diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/dict/dict-xhtml.sch b/src/main/resources/com/adobe/epubcheck/schema/30/dict/dict-xhtml.sch index 200c549ab..70d26857c 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/30/dict/dict-xhtml.sch +++ b/src/main/resources/com/adobe/epubcheck/schema/30/dict/dict-xhtml.sch @@ -12,39 +12,39 @@ - The 'dictionary' type is only allowed on 'body' or - 'section' elements. - A 'dictionary' must have at least one article child. + The "dictionary" type is only allowed on "body" or + "section" elements. + A "dictionary" must have at least one article child. - The 'dictentry' type is only allowed on 'article' + The "dictentry" type is only allowed on "article" elements. A dictionary entry must have at least one 'dfn' descendant (outside of the optional - condensed entry 'aside'). + >A dictionary entry must have at least one "dfn" descendant (outside of the optional + condensed entry "aside"). - The 'condensed-entry' type is only allowed on 'aside' + The "condensed-entry" type is only allowed on "aside" elements. The - 'condensed-entry' type is only allowed on a child element of an 'article' dictionary + "condensed-entry" type is only allowed on a child element of an "article" dictionary entry. - A 'condensed-entry' must have a - 'hidden' attribute with its value set to 'hidden' or the empty string. + A "condensed-entry" must have a + "hidden" attribute with its value set to "hidden" or the empty string. - The 'part-of-speech-list' type is only allowed on 'ol' + The "part-of-speech-list" type is only allowed on "ol" elements. @@ -55,32 +55,32 @@ A - 'part-of-speech-group' must contain an element of type 'part-of-speech'. + "part-of-speech-group" must contain an element of type "part-of-speech". - The 'sense-list' type is only allowed on 'ol' elements. + The "sense-list" type is only allowed on "ol" elements. An element of type - 'tran-info' must have a sibling element of type 'tran'. + "tran-info" must have a sibling element of type "tran". - The 'idiom' type is only allowed on 'dfn' elements. + The "idiom" type is only allowed on "dfn" elements. - The 'phrase-list' type is only allowed on 'ol' or 'ul' + The "phrase-list" type is only allowed on "ol" or "ul" elements. @@ -88,8 +88,8 @@ - A 'phrase-group' - must contain an element of type 'idiom' or 'example'. + A "phrase-group" + must contain an element of type "idiom" or "example". diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/edupub/edu-ocf-metadata.sch b/src/main/resources/com/adobe/epubcheck/schema/30/edupub/edu-ocf-metadata.sch index adf063885..b2b090066 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/30/edupub/edu-ocf-metadata.sch +++ b/src/main/resources/com/adobe/epubcheck/schema/30/edupub/edu-ocf-metadata.sch @@ -6,7 +6,7 @@ - A dc:type element with the value 'edupub' is required. + A dc:type element with the value "edupub" is required. diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/edupub/edu-opf.sch b/src/main/resources/com/adobe/epubcheck/schema/30/edupub/edu-opf.sch index 4995d3d58..09a6fcc25 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/30/edupub/edu-opf.sch +++ b/src/main/resources/com/adobe/epubcheck/schema/30/edupub/edu-opf.sch @@ -7,7 +7,7 @@ - The dc:type identifier 'edupub' is required. + The dc:type identifier "edupub" is required. @@ -16,14 +16,14 @@ At least one schema:accessibilityFeature declaration is required. The - schema:accessibilityFeature property value 'none' is not valid in edupub. Use 'tableOfContents' + schema:accessibilityFeature property value "none" is not valid in edupub. Use "tableOfContents" if no other values are applicable. - WARNING: A teacher's edition + WARNING: A teacher’s edition should identify the corresponding student edition in a dc:source element. diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/edupub/edu-structure.sch b/src/main/resources/com/adobe/epubcheck/schema/30/edupub/edu-structure.sch index 50428ebeb..494c29ef9 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/30/edupub/edu-structure.sch +++ b/src/main/resources/com/adobe/epubcheck/schema/30/edupub/edu-structure.sch @@ -37,7 +37,7 @@ Empty ranked heading detected. - The value of the 'aria-label' attribute must not be the same as the content of the heading. + The value of the "aria-label" attribute must not be the same as the content of the heading. @@ -55,7 +55,7 @@ Empty ranked heading detected. - The value of the 'aria-label' attribute must not be the same as the content of the heading. + The value of the "aria-label" attribute must not be the same as the content of the heading. diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/epub-nav-30.sch b/src/main/resources/com/adobe/epubcheck/schema/30/epub-nav-30.sch index a51a45ba3..4ad88bde3 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/30/epub-nav-30.sch +++ b/src/main/resources/com/adobe/epubcheck/schema/30/epub-nav-30.sch @@ -6,12 +6,12 @@ - Exactly one 'toc' nav element + Exactly one "toc" nav element must be present Multiple occurrences of - the 'page-list' nav element + the "page-list" nav element Multiple occurrences of - the 'landmarks' nav element + the "landmarks" nav element @@ -28,7 +28,7 @@ - Missing epub:type attribute on anchor inside 'landmarks' nav element + Missing epub:type attribute on anchor inside "landmarks" nav element - The 'index-group' + The "index-group" type is only allowed on sectioning elements. The - 'index-group' type is only allowed on children of 'index'. + "index-group" type is only allowed on children of "index". 'index-group' must not have more than one heading child. + >"index-group" must not have more than one heading child. 'index-group' must have exactly one 'index-entry-list' child. + >"index-group" must have exactly one "index-entry-list" child. @@ -74,7 +74,7 @@ |h:ul[not(@epub:type) and ancestor::h:*[tokenize(@epub:type,'\s+')='index'] and empty(ancestor::h:*[tokenize(@epub:type,'\s+')='index-headnotes'])]"> - The 'index-entry-list' type is only allowed on 'ul' + The "index-entry-list" type is only allowed on "ul" elements. The 'index-entry-list' type is only allowed on children of 'index', 'index-group' or - 'index-entry'. - At least one 'index-entry' child. + >The "index-entry-list" type is only allowed on children of "index", "index-group" or + "index-entry". + At least one "index-entry" child. @@ -100,57 +100,57 @@ and empty(ancestor::h:*[tokenize(@epub:type,'\s+')='index-headnotes']))]]"> - The 'index-entry' type is only allowed on 'li' elements. + The "index-entry" type is only allowed on "li" elements. The 'index-entry' type is only allowed on children of (possibly-implied) - 'index-entry-list'. + >The "index-entry" type is only allowed on children of (possibly-implied) + "index-entry-list". An 'index-entry' must have one and only one 'index-term' child. + >An "index-entry" must have one and only one "index-term" child. An 'index-entry' must have at least one child with the type 'index-entry-list' or - 'index-locator-list' or 'index-locator', 'index-locator-range' or 'index-editor-note' or - 'index-xref-preferred' or 'index-xref-related'. + >An "index-entry" must have at least one child with the type "index-entry-list" or + "index-locator-list" or "index-locator", "index-locator-range" or "index-editor-note" or + "index-xref-preferred" or "index-xref-related". An 'index-entry' must have at most one child with the (possibly implied) type - 'index-entry-list'. + >An "index-entry" must have at most one child with the (possibly implied) type + "index-entry-list". An 'index-entry' must not have both 'index-locator-list' and 'index-locator' or - 'index-locator-range' children. + >An "index-entry" must not have both "index-locator-list" and "index-locator" or + "index-locator-range" children. An 'index-entry' must have at most one child with the type 'index-locator-list'. + >An "index-entry" must have at most one child with the type "index-locator-list". An 'index-entry' must have at most one child with the type 'index-editor-note'. + >An "index-entry" must have at most one child with the type "index-editor-note". An 'index-entry' must not have both 'index-xref-preferred' and 'index-xref-related' + >An "index-entry" must not have both "index-xref-preferred" and "index-xref-related" children. @@ -165,8 +165,8 @@ or (not(@epub:type) and ancestor::h:*[tokenize(@epub:type,'\s+')='index'] and empty(ancestor::h:*[tokenize(@epub:type,'\s+')='index-headnotes']))]]" - >The '' type is only allowed on children of elements with - the (possibly implied) type 'index-entry'. + >The "" type is only allowed on children of elements with + the (possibly implied) type "index-entry". @@ -180,7 +180,7 @@ |self::h:noscript|self::h:object|self::h:output|self::h:progress|self::h:q|self::h:ruby|self::h:s |self::h:samp|self::h:script|self::h:select|self::h:small|self::h:span|self::h:strong|self::h:sub |self::h:sup|self::h:svg|self::h:textarea|self::h:time|self::h:u|self::h:var|self::h:video" - >The 'index-term' type is only allowed on phrasing content elements. + >The "index-term" type is only allowed on phrasing content elements. The 'index-term' type is only allowed on children of elements with the type 'index-entry' - (possibly implied), 'index-xref-preferred' or 'index-xref-related'. + >The "index-term" type is only allowed on children of elements with the type "index-entry" + (possibly implied), "index-xref-preferred" or "index-xref-related". @@ -200,12 +200,12 @@ - The 'index-locator-list' type is only allowed on 'ul' + The "index-locator-list" type is only allowed on "ul" elements. An 'index-entry-list' must have at least one descendant with the (possibly implied) - 'index-locator' type. + >An "index-entry-list" must have at least one descendant with the (possibly implied) + "index-locator" type. @@ -216,7 +216,7 @@ - The 'index-locator' type is only allowed on 'a' elements. + The "index-locator" type is only allowed on "a" elements. The 'index-locator' type is only allowed on children of elements with the (possibly - implied) type 'index-entry' or descendants of 'index-locator-list' or 'index-range'. + >The "index-locator" type is only allowed on children of elements with the (possibly + implied) type "index-entry" or descendants of "index-locator-list" or "index-range". @@ -239,10 +239,10 @@ or (not(@epub:type) and ancestor::h:*[tokenize(@epub:type,'\s+')='index'] and empty(ancestor::h:*[tokenize(@epub:type,'\s+')='index-headnotes']))]]" - >The 'index-locator-range' type is only allowed on children of elements with the (possibly - implied) type 'index-entry' or descendants of 'index-locator-list'. + >The "index-locator-range" type is only allowed on children of elements with the (possibly + implied) type "index-entry" or descendants of "index-locator-list". Must contain one or two - 'index-locator' child. + "index-locator" child. @@ -250,8 +250,8 @@ An 'index-xref-preferred' or 'index-xref-related' must have at least one child with the - type 'index-term' or 'index-term-category'. + >An "index-xref-preferred" or "index-xref-related" must have at least one child with the + type "index-term" or "index-term-category". @@ -263,12 +263,12 @@ - The 'index-term-category' type is only allowed on 'a' + The "index-term-category" type is only allowed on "a" elements. The 'index-term-category' type is only allowed on elements (or descendants of elements) - with the type 'index-xref-preferred' or 'index-xref-related'. + >The "index-term-category" type is only allowed on elements (or descendants of elements) + with the type "index-xref-preferred" or "index-xref-related". diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/media-overlay-30.sch b/src/main/resources/com/adobe/epubcheck/schema/30/media-overlay-30.sch index bf7a3808d..14ddf88c2 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/30/media-overlay-30.sch +++ b/src/main/resources/com/adobe/epubcheck/schema/30/media-overlay-30.sch @@ -9,7 +9,7 @@ - Attributes 'clipBegin' and 'clipEnd' must not be equal! + Attributes "clipBegin" and "clipEnd" must not be equal! diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/mod/epub-svg11-re.sch b/src/main/resources/com/adobe/epubcheck/schema/30/mod/epub-svg11-re.sch index ac550d4ba..223d39ab4 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/30/mod/epub-svg11-re.sch +++ b/src/main/resources/com/adobe/epubcheck/schema/30/mod/epub-svg11-re.sch @@ -2,6 +2,6 @@ Invalid value (expecting: 'http://www.idpf.org/2007/ops') + >Invalid value (expecting: "http://www.idpf.org/2007/ops") \ No newline at end of file diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/mod/id-unique.sch b/src/main/resources/com/adobe/epubcheck/schema/30/mod/id-unique.sch index 1ca130565..d1c09fe35 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/30/mod/id-unique.sch +++ b/src/main/resources/com/adobe/epubcheck/schema/30/mod/id-unique.sch @@ -4,6 +4,6 @@ Duplicate '' + >Duplicate "" diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/multiple-renditions/mapping.sch b/src/main/resources/com/adobe/epubcheck/schema/30/multiple-renditions/mapping.sch index 56ef99d3b..e9051a672 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/30/multiple-renditions/mapping.sch +++ b/src/main/resources/com/adobe/epubcheck/schema/30/multiple-renditions/mapping.sch @@ -6,7 +6,7 @@ A - meta tag with the name 'epub.multiple.renditions.version' and value '1.0' is + meta tag with the name "epub.multiple.renditions.version" and value "1.0" is required. @@ -14,7 +14,7 @@ A - Rendition Mapping Document must contain exactly one 'resource-map' nav + Rendition Mapping Document must contain exactly one "resource-map" nav element. A nav element of a Rendition Mapping Document must identify its nature in an epub:type attribute. diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/ocf-encryption-30.sch b/src/main/resources/com/adobe/epubcheck/schema/30/ocf-encryption-30.sch index d9efd2d62..4679b96ee 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/30/ocf-encryption-30.sch +++ b/src/main/resources/com/adobe/epubcheck/schema/30/ocf-encryption-30.sch @@ -5,7 +5,7 @@ Duplicate '' + >Duplicate "" diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/ocf-metadata-30.sch b/src/main/resources/com/adobe/epubcheck/schema/30/ocf-metadata-30.sch index b1b617aca..39986211a 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/30/ocf-metadata-30.sch +++ b/src/main/resources/com/adobe/epubcheck/schema/30/ocf-metadata-30.sch @@ -7,7 +7,7 @@ - unique-identifier attribute does not resolve to a dc:identifier element (given reference was '') + unique-identifier attribute does not resolve to a dc:identifier element (given reference was "") @@ -19,74 +19,74 @@ - dcterms:modified illegal syntax (expecting: 'CCYY-MM-DDThh:mm:ssZ') + dcterms:modified illegal syntax (expecting: "CCYY-MM-DDThh:mm:ssZ") - @refines missing target id: '' + @refines missing target id: "" - The 'source-of' property must have the value 'pagination' - The 'source-of' property must refine a 'dc:source' element. + The "source-of" property must have the value "pagination" + The "source-of" property must refine a "dc:source" element. - The type of 'record' references must be identifiable from the link element's 'media-type' attribute. - 'record' links only applies to the Publication (must not have a 'refines' attribute). + The type of "record" references must be identifiable from the link element’s "media-type" attribute. + "record" links only applies to the Publication (must not have a "refines" attribute). - Property 'belongs-to-collection' can only refine other 'belongs-to-collection' properties. + Property "belongs-to-collection" can only refine other "belongs-to-collection" properties. - Property 'collection-type' must refine a 'belongs-to-collection' property. + Property "collection-type" must refine a "belongs-to-collection" property. - The 'rendition:flow' property must not occur more than one time in the metadata. - The 'rendition:layout' property must not occur more than one time in the metadata. - The 'rendition:orientation' property must not occur more than one time in the metadata. - The 'rendition:spread' property must not occur more than one time in the metadata. - The 'rendition:viewport' property must not occur more than one time as a global value in the metadata. + The "rendition:flow" property must not occur more than one time in the metadata. + The "rendition:layout" property must not occur more than one time in the metadata. + The "rendition:orientation" property must not occur more than one time in the metadata. + The "rendition:spread" property must not occur more than one time in the metadata. + The "rendition:viewport" property must not occur more than one time as a global value in the metadata. - The 'rendition:flow' property must not be set on elements with a 'refines' attribute - The value of the 'rendition:flow' property must be either 'paginated', 'scrolled-continuous', 'scrolled-doc', or 'auto' + The "rendition:flow" property must not be set on elements with a "refines" attribute + The value of the "rendition:flow" property must be either "paginated", "scrolled-continuous", "scrolled-doc", or "auto" - The 'rendition:layout' property must not be set on elements with a 'refines' attribute - The value of the 'rendition:layout' property must be either 'reflowable' or 'pre-paginated' + The "rendition:layout" property must not be set on elements with a "refines" attribute + The value of the "rendition:layout" property must be either "reflowable" or "pre-paginated" - The 'rendition:orientation' property must not be set on elements with a 'refines' attribute - The value of the 'rendition:orientation' property must be either 'landscape', 'portrait' or 'auto' + The "rendition:orientation" property must not be set on elements with a "refines" attribute + The value of the "rendition:orientation" property must be either "landscape", "portrait" or "auto" - The 'rendition:spread' property must not be set on elements with a 'refines' attribute - The value of the 'rendition:spread' property must be either 'none', 'landscape', 'portrait', 'both' or 'auto' + The "rendition:spread" property must not be set on elements with a "refines" attribute + The value of the "rendition:spread" property must be either "none", "landscape", "portrait", "both" or "auto" - The 'rendition:spread' property must not be set on elements with a 'refines' attribute - The value of the 'rendition:spread' property must be either 'none', 'landscape', 'portrait', 'both' or 'auto' + The "rendition:spread" property must not be set on elements with a "refines" attribute + The value of the "rendition:spread" property must be either "none", "landscape", "portrait", "both" or "auto" - The value of the 'rendition:viewport' property must be of the form 'width=x, height=y' + The value of the "rendition:viewport" property must be of the form "width=x, height=y" diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/package-30.sch b/src/main/resources/com/adobe/epubcheck/schema/30/package-30.sch index f0d8b3ab0..07d09354d 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/30/package-30.sch +++ b/src/main/resources/com/adobe/epubcheck/schema/30/package-30.sch @@ -9,7 +9,7 @@ package element unique-identifier attribute does not resolve to a dc:identifier element (given - reference was '') + reference was "") @@ -24,41 +24,41 @@ dcterms:modified illegal syntax (expecting: 'CCYY-MM-DDThh:mm:ssZ') + >dcterms:modified illegal syntax (expecting: "CCYY-MM-DDThh:mm:ssZ") - @refines missing target id: '' + @refines missing target id: "" - The 'source-of' property must have the - value 'pagination' + The "source-of" property must have the + value "pagination" The 'source-of' property must refine a 'dc:source' element. + >The "source-of" property must refine a "dc:source" element. - The type of 'record' references must be identifiable - from the link element's 'media-type' attribute. - 'record' links only applies to the Publication (must not - have a 'refines' attribute). + The type of "record" references must be identifiable + from the link element’s "media-type" attribute. + "record" links only applies to the Publication (must not + have a "refines" attribute). - 'voicing' links must have a 'media-type' attribute identifying an audio MIME type. - 'voicing' links must have a 'refines' attribute. + "voicing" links must have a "media-type" attribute identifying an audio MIME type. + "voicing" links must have a "refines" attribute. @@ -66,7 +66,7 @@ Property 'belongs-to-collection' can only refine other 'belongs-to-collection' + >Property "belongs-to-collection" can only refine other "belongs-to-collection" properties. @@ -75,7 +75,7 @@ Property 'collection-type' must refine a 'belongs-to-collection' property. + >Property "collection-type" must refine a "belongs-to-collection" property. @@ -94,8 +94,8 @@ manifest item element fallback attribute - must resolve to another manifest item (given reference was '') + must resolve to another manifest item (given reference was "") @@ -105,8 +105,8 @@ media overlay items must be of - the 'application/smil+xml' type (given type was '') + the "application/smil+xml" type (given type was "") @@ -136,8 +136,8 @@ manifest items referenced from the handler attribute of a bindings mediaType element must be of the - 'application/xhtml+xml' type (given type was '') + "application/xhtml+xml" type (given type was "") @@ -147,8 +147,8 @@ spine element toc attribute - must reference the NCX manifest item (referenced media type was '') + must reference the NCX manifest item (referenced media type was "") @@ -163,8 +163,8 @@ - Exactly one manifest item must declare the 'nav' - property (number of 'nav' items: ). + Exactly one manifest item must declare the "nav" + property (number of "nav" items: ). @@ -172,15 +172,15 @@ The manifest item representing the - Navigation Document must be of the 'application/xhtml+xml' type (given type was - '') + Navigation Document must be of the "application/xhtml+xml" type (given type was + "") - Found 'data-nav' items. The manifest must not include more than one Data Navigation Document. + Found "data-nav" items. The manifest must not include more than one Data Navigation Document. @@ -188,66 +188,66 @@ - Multiple occurrences of the 'cover-image' property - (number of 'cover-image' items: ). + Multiple occurrences of the "cover-image" property + (number of "cover-image" items: ). - The 'rendition:flow' + The "rendition:flow" property must not occur more than one time in the package metadata. - The 'rendition:layout' + The "rendition:layout" property must not occur more than one time in the package metadata. The - 'rendition:orientation' property must not occur more than one time in the package + "rendition:orientation" property must not occur more than one time in the package metadata. - The 'rendition:spread' + The "rendition:spread" property must not occur more than one time in the package metadata. The - 'rendition:viewport' property must not occur more than one time as a global value in + "rendition:viewport" property must not occur more than one time as a global value in the package metadata. - The 'rendition:flow' property must not be set on elements - with a 'refines' attribute + The "rendition:flow" property must not be set on elements + with a "refines" attribute The value of the 'rendition:flow' property must be either 'paginated', - 'scrolled-continuous', 'scrolled-doc', or 'auto' + >The value of the "rendition:flow" property must be either "paginated", + "scrolled-continuous", "scrolled-doc", or "auto" - The 'rendition:layout' property must not be set on - elements with a 'refines' attribute + The "rendition:layout" property must not be set on + elements with a "refines" attribute The value of the - 'rendition:layout' property must be either 'reflowable' or 'pre-paginated' + "rendition:layout" property must be either "reflowable" or "pre-paginated" - The 'rendition:orientation' property must not be set on - elements with a 'refines' attribute + The "rendition:orientation" property must not be set on + elements with a "refines" attribute The value of the - 'rendition:orientation' property must be either 'landscape', 'portrait' or - 'auto' + "rendition:orientation" property must be either "landscape", "portrait" or + "auto" - The 'rendition:spread' property must not be set on - elements with a 'refines' attribute + The "rendition:spread" property must not be set on + elements with a "refines" attribute The value - of the 'rendition:spread' property must be either 'none', 'landscape', 'portrait', - 'both' or 'auto' + of the "rendition:spread" property must be either "none", "landscape", "portrait", + "both" or "auto" - The 'rendition:spread' property must not be set on - elements with a 'refines' attribute + The "rendition:spread" property must not be set on + elements with a "refines" attribute The value - of the 'rendition:spread' property must be either 'none', 'landscape', 'portrait', - 'both' or 'auto' + of the "rendition:spread" property must be either "none", "landscape", "portrait", + "both" or "auto" The value of the 'rendition:viewport' property must be of the form 'width=x, - height=y' + >The value of the "rendition:viewport" property must be of the form "width=x, + height=y" @@ -255,25 +255,25 @@ Properties 'rendition:flow-paginated', 'rendition:flow-scrolled-continuous', - 'rendition:flow-scrolled-doc' and 'rendition:flow-auto' are mutually + >Properties "rendition:flow-paginated", "rendition:flow-scrolled-continuous", + "rendition:flow-scrolled-doc" and "rendition:flow-auto" are mutually exclusive Properties 'rendition:layout-reflowable' and 'rendition:layout-pre-paginated' are + >Properties "rendition:layout-reflowable" and "rendition:layout-pre-paginated" are mutually exclusive Properties 'rendition:orientation-landscape', 'rendition:orientation-portrait' and - 'rendition:orientation-auto' are mutually exclusive + >Properties "rendition:orientation-landscape", "rendition:orientation-portrait" and + "rendition:orientation-auto" are mutually exclusive Properties 'page-spread-right', 'page-spread-left' and - 'rendition:page-spread-center' are mutually exclusive + >Properties "page-spread-right", "page-spread-left" and + "rendition:page-spread-center" are mutually exclusive Properties 'rendition:spread-portrait', 'rendition:spread-landscape', - 'rendition:spread-both', 'rendition:spread-none' and 'rendition:spread-auto' are + >Properties "rendition:spread-portrait", "rendition:spread-landscape", + "rendition:spread-both", "rendition:spread-none" and "rendition:spread-auto" are mutually exclusive @@ -296,7 +296,7 @@ count(//opf:reference[ normalize-space(lower-case(@type)) = $current_type_normalized and normalize-space(lower-case(@href)) = $current_href_normalized - ]) le 1">WARNING: Duplicate 'reference' elements with the same 'type' and 'href' attributes + ]) le 1">WARNING: Duplicate "reference" elements with the same "type" and "href" attributes @@ -337,13 +337,13 @@ - WARNING: Use of the rendition:spread value 'portrait' is deprecated in favour of the value 'both' + WARNING: Use of the rendition:spread value "portrait" is deprecated in favour of the value "both" - WARNING: Use of the 'rendition:spread-portrait' spine override is deprecated in favour of 'rendition:spread-both' + WARNING: Use of the "rendition:spread-portrait" spine override is deprecated in favour of "rendition:spread-both" diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/previews/preview-collection.sch b/src/main/resources/com/adobe/epubcheck/schema/30/previews/preview-collection.sch index 753da3d43..bb91ef569 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/30/previews/preview-collection.sch +++ b/src/main/resources/com/adobe/epubcheck/schema/30/previews/preview-collection.sch @@ -5,10 +5,10 @@ - A 'preview' - collection must include exactly one child 'manifest' collection - A 'preview' collection must include at least - one child link element, pointing to an EPUB Content Document. + A "preview" + collection must include exactly one child "manifest" collection + A "preview" collection must include at least + one child "link" element, pointing to an EPUB Content Document. diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/previews/preview-pub-opf.sch b/src/main/resources/com/adobe/epubcheck/schema/30/previews/preview-pub-opf.sch index cb44515a3..d5d9c3bfa 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/30/previews/preview-pub-opf.sch +++ b/src/main/resources/com/adobe/epubcheck/schema/30/previews/preview-pub-opf.sch @@ -5,12 +5,12 @@ - An EPUB Preview publication must have a 'preview' dc:type. + An EPUB Preview publication must have a "preview" dc:type. - WARNING: An EPUB Preview publication should link back to its source Publication using a dc:source element. + WARNING: An EPUB Preview publication should link back to its source Publication using a "dc:source" element. A Preview Publication must not use the same package identifier as its source Publication. diff --git a/src/main/resources/com/adobe/epubcheck/util/messages.properties b/src/main/resources/com/adobe/epubcheck/util/messages.properties index 8c673d666..14e86762e 100644 --- a/src/main/resources/com/adobe/epubcheck/util/messages.properties +++ b/src/main/resources/com/adobe/epubcheck/util/messages.properties @@ -1,6 +1,6 @@ single_file=File is validated as a single file of type %1$s, for EPUB version %2$s using the %3$s validation profile. Only a subset of the available tests is run. opv_version_test=*** Candidate for msg deletion *** Tests are performed only for the OPF version. -mode_version_not_supported=The checker doesn't validate type %1$s and version %2$s. +mode_version_not_supported=The checker doesn’t validate type %1$s and version %2$s. no_errors__or_warnings=No errors or warnings detected. there_were_errors=\nCheck finished with errors @@ -30,21 +30,21 @@ argument_needed=At least one argument expected version_argument_expected=Version number omitted from the -v argument. mode_argument_expected=Type omitted from the -mode argument. profile_argument_expected=Profile name omitted after the -profile argument. -profile_unknown=Unknown profile '%1$s', using default validation profile. +profile_unknown=Unknown profile "%1$s", using default validation profile. no_file_specified=No file specified in the arguments. Exiting. mode_version_ignored=The mode and version arguments are ignored for epubs. They are retrieved from the files. mode_required=Mode required for non-epub files. Default version is 3.0. validating_version_message=Validating using EPUB version %1$s rules. output_type_conflict=Only one output format can be specified at a time. validating_against_epub_version=Validating against EPUB version %1$s - custom validation -file_not_found=File not found: '%1$s' -directory_not_found=Directory not found: '%1$s' +file_not_found=File not found: "%1$s" +directory_not_found=Directory not found: "%1$s" epubcheck_completed=EPUBCheck completed -error_creating_config_file=Error creating config file '%1$s'. -expected_message_filename=Expected the Custom message file name, but found '%1$s' -unrecognized_argument=Unrecognized argument: '%1$s' +error_creating_config_file=Error creating config file "%1$s". +expected_message_filename=Expected the Custom message file name, but found "%1$s" +unrecognized_argument=Unrecognized argument: "%1$s" epubcheck_version_text=EPUBCheck v%1$s -incorrect_locale=Argument '%1$s' to the --locale option is incorrect. +incorrect_locale=Argument "%1$s" to the --locale option is incorrect. missing_locale=Argument to the --locale option is missing. help_text = \ diff --git a/src/main/resources/org/idpf/epubcheck/util/css/messages.properties b/src/main/resources/org/idpf/epubcheck/util/css/messages.properties index cca78e423..32ca58536 100644 --- a/src/main/resources/org/idpf/epubcheck/util/css/messages.properties +++ b/src/main/resources/org/idpf/epubcheck/util/css/messages.properties @@ -1,14 +1,14 @@ -css.scanner.token.syntax=Invalid syntax ''{0}'' -css.scanner.token.syntax.char=The character ''{0}'' is not allowed in ''{1}'' expressions -css.scanner.token.syntax.firstChar=The character ''{0}'' is not allowed as the first character in ''{1}'' expressions -css.scanner.token.syntax.escape=Invalid escape sequence ''{0}'' -css.scanner.token.syntax.urange=Invalid unicode range expression ''{0}'' +css.scanner.token.syntax=Invalid syntax "{0}" +css.scanner.token.syntax.char=The character "{0}" is not allowed in "{1}" expressions +css.scanner.token.syntax.firstChar=The character "{0}" is not allowed as the first character in "{1}" expressions +css.scanner.token.syntax.escape=Invalid escape sequence "{0}" +css.scanner.token.syntax.urange=Invalid unicode range expression "{0}" css.scanner.prematureEOF=Premature end of file css.grammar.prematureEOF=Premature end of grammar (expecting: {0}) -css.grammar.token.unexpected=Token ''{0}'' not allowed here -css.grammar.token.expecting=Token ''{0}'' not allowed here, expecting {1} -css.grammar.invalidSelector=Invalid selector: ''{0}'' +css.grammar.token.unexpected=Token "{0}" not allowed here +css.grammar.token.expecting=Token "{0}" not allowed here, expecting {1} +css.grammar.invalidSelector=Invalid selector: "{0}" or=or a_property_name=a property name diff --git a/src/test/java/com/adobe/epubcheck/ocf/OCFCheckerTest.java b/src/test/java/com/adobe/epubcheck/ocf/OCFCheckerTest.java index 176305b6c..33ad86389 100644 --- a/src/test/java/com/adobe/epubcheck/ocf/OCFCheckerTest.java +++ b/src/test/java/com/adobe/epubcheck/ocf/OCFCheckerTest.java @@ -331,7 +331,7 @@ public void testInvalidLoremForeign30() // there must be a message error about the missing 'remote-resources' // property assertTrue(testReport.errorList.get(0).message - .contains("The property 'remote-resources' should be declared in the OPF file.")); + .contains("The property \"remote-resources\" should be declared in the OPF file.")); List errors = new ArrayList(); Collections.addAll(errors, MessageId.OPF_014); assertEquals(errors, testReport.getErrorIds()); diff --git a/src/test/resources/com/adobe/epubcheck/test/DTBook/Basic_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/DTBook/Basic_expected_results.json index 0966f61f5..230383ea5 100644 --- a/src/test/resources/com/adobe/epubcheck/test/DTBook/Basic_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/DTBook/Basic_expected_results.json @@ -395,7 +395,7 @@ "messages" : [ { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -407,7 +407,7 @@ }, { "ID" : "OPF-021", "severity" : "WARNING", - "message" : "Use of non-registered URI scheme type in href: 'waka://barnesandnoble.com'.", + "message" : "Use of non-registered URI scheme type in href: \"waka://barnesandnoble.com\".", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/AreYouReadyV3.xml", diff --git a/src/test/resources/com/adobe/epubcheck/test/api/InputStream_Expected.txt b/src/test/resources/com/adobe/epubcheck/test/api/InputStream_Expected.txt index 6233215c9..e4003a27d 100644 --- a/src/test/resources/com/adobe/epubcheck/test/api/InputStream_Expected.txt +++ b/src/test/resources/com/adobe/epubcheck/test/api/InputStream_Expected.txt @@ -1,2 +1,2 @@ WARNING: : Testing 123 -ERROR: EPUB/lorem.opf(13,63): Spine item with non-standard media-type 'font/opentype' has no fallback. +ERROR: EPUB/lorem.opf(13,63): Spine item with non-standard media-type "font/opentype" has no fallback. diff --git a/src/test/resources/com/adobe/epubcheck/test/api/PrintWriter_Expected.txt b/src/test/resources/com/adobe/epubcheck/test/api/PrintWriter_Expected.txt index a4ac9b6de..d89945fd9 100644 --- a/src/test/resources/com/adobe/epubcheck/test/api/PrintWriter_Expected.txt +++ b/src/test/resources/com/adobe/epubcheck/test/api/PrintWriter_Expected.txt @@ -1,2 +1,2 @@ WARNING: : -ERROR: EPUB/lorem.opf(13,63): Spine item with non-standard media-type 'font/opentype' has no fallback. +ERROR: EPUB/lorem.opf(13,63): Spine item with non-standard media-type "font/opentype" has no fallback. 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 4d0cd239d..f814b3821 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -85,7 +85,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -97,7 +97,7 @@ }, { "ID" : "HTM-033", "severity" : "USAGE", - "message" : "HTML 'head' element does not have a 'title' child element.", + "message" : "HTML \"head\" element does not have a \"title\" child element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/style_tag_css.xhtml", @@ -109,7 +109,7 @@ }, { "ID" : "RSC-017", "severity" : "WARNING", - "message" : "Warning while parsing file: The 'head' element should have a 'title' child element.", + "message" : "Warning while parsing file: The \"head\" element should have a \"title\" child element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/style_tag_css.xhtml", 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 65920d4fb..086e42dfb 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -73,7 +73,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 bdeaf780b..d4bdca056 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -73,7 +73,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", diff --git a/src/test/resources/com/adobe/epubcheck/test/command_line/severity_error_expected_results.txt b/src/test/resources/com/adobe/epubcheck/test/command_line/severity_error_expected_results.txt index 5164f997d..41d230cc2 100644 --- a/src/test/resources/com/adobe/epubcheck/test/command_line/severity_error_expected_results.txt +++ b/src/test/resources/com/adobe/epubcheck/test/command_line/severity_error_expected_results.txt @@ -1,9 +1,9 @@ Start command_line test('severity_error') -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. -ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,1): 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/inline_css.xhtml(14,22): The 'direction' property must not be included in an EPUB Style Sheet. -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. +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. +ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,1): 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/inline_css.xhtml(14,22): The "direction" property must not be included in an EPUB Style Sheet. +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. Check finished with errors Messages: 0 fatals / 5 errors 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 43cfafd32..69d55ecd2 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,49 +1,49 @@ 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. -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. +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. USAGE(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(38,13): CSS selector specifies fixed position. -WARNING(RSC-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): Warning while parsing file: The 'head' element should have a 'title' child element. -ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,1): 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/inline_css.xhtml(14,22): The 'direction' property must not be included in an EPUB Style Sheet. +WARNING(RSC-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): Warning while parsing file: The "head" element should have a "title" child element. +ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,1): 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/inline_css.xhtml(14,22): The "direction" property must not be included in an EPUB Style Sheet. USAGE(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(15,1): CSS selector specifies fixed position. -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. +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. USAGE(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(66,5): CSS selector specifies fixed position. -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(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(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(HTM-033): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): HTML 'head' element does not have a 'title' child 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: '14px' -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: '12px' -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. -USAGE(CSS-021): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(11,5): Shorthand CSS property 'font-family' specifies an invalid System Font. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(15,5): Value of CSS property 'font-size' does not use a relative size: '18px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(19,5): Value of CSS property 'font-size' does not use a relative size: '18px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property 'line-height' does not use a relative size. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(35,5): Value of CSS property 'font-size' does not use a relative size: 'x-large' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(39,5): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(HTM-033): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): HTML "head" element does not have a "title" child 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: "14px" +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: "12px" +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. +USAGE(CSS-021): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(11,5): Shorthand CSS property "font-family" specifies an invalid System Font. +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(15,5): Value of CSS property "font-size" does not use a relative size: "18px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(19,5): Value of CSS property "font-size" does not use a relative size: "18px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property "line-height" does not use a relative size. +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(35,5): Value of CSS property "font-size" does not use a relative size: "x-large" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(39,5): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(70,5): CSS selector specifies absolute position. USAGE(CSS-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(79,5): CSS property is declared !Important. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(90,5): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(90,5): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-023): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(97,1): CSS selector specifies media query. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(99,9): Value of CSS property 'font-size' does not use a relative size: 'large' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(8,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(14,5): Value of CSS property 'font-size' does not use a relative size: '22px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(23,5): Value of CSS property 'font-size' does not use a relative size: '14px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(32,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(38,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(51,5): Value of CSS property 'font-size' does not use a relative size: '11px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(58,5): Value of CSS property 'font-size' does not use a relative size: '10px' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(99,9): Value of CSS property "font-size" does not use a relative size: "large" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(8,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(14,5): Value of CSS property "font-size" does not use a relative size: "22px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(23,5): Value of CSS property "font-size" does not use a relative size: "14px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(32,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(38,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(51,5): Value of CSS property "font-size" does not use a relative size: "11px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(58,5): Value of CSS property "font-size" does not use a relative size: "10px" USAGE(CSS-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(2,5): CSS selector specifies absolute position. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property 'line-height' does not use a relative size. +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property "line-height" does not use a relative size. USAGE(CSS-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(15,5): CSS property is declared !Important. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(27,5): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(27,5): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-023): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(33,1): CSS selector specifies media query. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(35,9): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(35,9): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(9,13): CSS property is declared !Important. USAGE(CSS-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(17,13): CSS selector specifies absolute position. USAGE(CSS-023): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(20,9): CSS selector specifies media query. 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 60b345061..ef419436e 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,50 +1,50 @@ 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.2 rules. -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. +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. USAGE(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(38,13): CSS selector specifies fixed position. -WARNING(RSC-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): Warning while parsing file: The 'head' element should have a 'title' child element. -ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,1): 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/inline_css.xhtml(14,22): The 'direction' property must not be included in an EPUB Style Sheet. +WARNING(RSC-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): Warning while parsing file: The "head" element should have a "title" child element. +ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,1): 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/inline_css.xhtml(14,22): The "direction" property must not be included in an EPUB Style Sheet. USAGE(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(15,1): CSS selector specifies fixed position. -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. +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. USAGE(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(66,5): CSS selector specifies fixed position. -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(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(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(HTM-033): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): HTML 'head' element does not have a 'title' child 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: '14px' -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: '12px' +USAGE(HTM-033): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): HTML "head" element does not have a "title" child 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: "14px" +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: "12px" USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(7,5): This is an overridden message. -USAGE(CSS-021): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(11,5): Shorthand CSS property 'font-family' specifies an invalid System Font. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(15,5): Value of CSS property 'font-size' does not use a relative size: '18px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(19,5): Value of CSS property 'font-size' does not use a relative size: '18px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property 'font-size' does not use a relative size: '12px' +USAGE(CSS-021): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(11,5): Shorthand CSS property "font-family" specifies an invalid System Font. +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(15,5): Value of CSS property "font-size" does not use a relative size: "18px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(19,5): Value of CSS property "font-size" does not use a relative size: "18px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property "font-size" does not use a relative size: "12px" USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): This is an overridden message. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(35,5): Value of CSS property 'font-size' does not use a relative size: 'x-large' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(39,5): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(35,5): Value of CSS property "font-size" does not use a relative size: "x-large" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(39,5): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(70,5): CSS selector specifies absolute position. USAGE(CSS-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(79,5): CSS property is declared !Important. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(90,5): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(90,5): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-023): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(97,1): CSS selector specifies media query. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(99,9): Value of CSS property 'font-size' does not use a relative size: 'large' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(8,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(14,5): Value of CSS property 'font-size' does not use a relative size: '22px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(23,5): Value of CSS property 'font-size' does not use a relative size: '14px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(32,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(38,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(51,5): Value of CSS property 'font-size' does not use a relative size: '11px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(58,5): Value of CSS property 'font-size' does not use a relative size: '10px' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(99,9): Value of CSS property "font-size" does not use a relative size: "large" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(8,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(14,5): Value of CSS property "font-size" does not use a relative size: "22px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(23,5): Value of CSS property "font-size" does not use a relative size: "14px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(32,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(38,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(51,5): Value of CSS property "font-size" does not use a relative size: "11px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(58,5): Value of CSS property "font-size" does not use a relative size: "10px" USAGE(CSS-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(2,5): CSS selector specifies absolute position. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property 'font-size' does not use a relative size: '12px' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property "font-size" does not use a relative size: "12px" USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): This is an overridden message. USAGE(CSS-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(15,5): CSS property is declared !Important. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(27,5): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(27,5): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-023): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(33,1): CSS selector specifies media query. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(35,9): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(35,9): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(9,13): CSS property is declared !Important. USAGE(CSS-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(17,13): CSS selector specifies absolute position. USAGE(CSS-023): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(20,9): CSS selector specifies media query. 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 64e88b9e7..414d0a67c 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,49 +1,49 @@ 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. -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. +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. USAGE(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(38,13): CSS selector specifies fixed position. -WARNING(RSC-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): Warning while parsing file: The 'head' element should have a 'title' child element. -ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,1): 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/inline_css.xhtml(14,22): The 'direction' property must not be included in an EPUB Style Sheet. +WARNING(RSC-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): Warning while parsing file: The "head" element should have a "title" child element. +ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,1): 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/inline_css.xhtml(14,22): The "direction" property must not be included in an EPUB Style Sheet. USAGE(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(15,1): CSS selector specifies fixed position. -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. +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. USAGE(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(66,5): CSS selector specifies fixed position. -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(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(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(HTM-033): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): HTML 'head' element does not have a 'title' child 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: '14px' -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: '12px' -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. -USAGE(CSS-021): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(11,5): Shorthand CSS property 'font-family' specifies an invalid System Font. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(15,5): Value of CSS property 'font-size' does not use a relative size: '18px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(19,5): Value of CSS property 'font-size' does not use a relative size: '18px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property 'line-height' does not use a relative size. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(35,5): Value of CSS property 'font-size' does not use a relative size: 'x-large' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(39,5): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(HTM-033): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): HTML "head" element does not have a "title" child 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: "14px" +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: "12px" +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. +USAGE(CSS-021): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(11,5): Shorthand CSS property "font-family" specifies an invalid System Font. +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(15,5): Value of CSS property "font-size" does not use a relative size: "18px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(19,5): Value of CSS property "font-size" does not use a relative size: "18px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property "line-height" does not use a relative size. +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(35,5): Value of CSS property "font-size" does not use a relative size: "x-large" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(39,5): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(70,5): CSS selector specifies absolute position. USAGE(CSS-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(79,5): CSS property is declared !Important. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(90,5): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(90,5): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-023): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(97,1): CSS selector specifies media query. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(99,9): Value of CSS property 'font-size' does not use a relative size: 'large' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(8,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(14,5): Value of CSS property 'font-size' does not use a relative size: '22px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(23,5): Value of CSS property 'font-size' does not use a relative size: '14px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(32,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(38,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(51,5): Value of CSS property 'font-size' does not use a relative size: '11px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(58,5): Value of CSS property 'font-size' does not use a relative size: '10px' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(99,9): Value of CSS property "font-size" does not use a relative size: "large" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(8,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(14,5): Value of CSS property "font-size" does not use a relative size: "22px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(23,5): Value of CSS property "font-size" does not use a relative size: "14px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(32,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(38,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(51,5): Value of CSS property "font-size" does not use a relative size: "11px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(58,5): Value of CSS property "font-size" does not use a relative size: "10px" USAGE(CSS-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(2,5): CSS selector specifies absolute position. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property 'line-height' does not use a relative size. +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property "line-height" does not use a relative size. USAGE(CSS-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(15,5): CSS property is declared !Important. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(27,5): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(27,5): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-023): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(33,1): CSS selector specifies media query. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(35,9): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(35,9): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(9,13): CSS property is declared !Important. USAGE(CSS-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(17,13): CSS selector specifies absolute position. USAGE(CSS-023): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(20,9): CSS selector specifies media query. 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 b949be4fd..8f3fae75a 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 @@ -1,49 +1,49 @@ Start command_line test('severity_overrideMissingFile') ERROR(CHK-001): ./com/adobe/epubcheck/test/command_line/severity/./com/adobe/epubcheck/test/command_line/severity_overrideMissingFile.txt(-1,-1): The custom message overrides file was not found. Validating using EPUB version 3.0.1 rules. -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. +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. USAGE(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(38,13): CSS selector specifies fixed position. -WARNING(RSC-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): Warning while parsing file: The 'head' element should have a 'title' child element. -ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,1): 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/inline_css.xhtml(14,22): The 'direction' property must not be included in an EPUB Style Sheet. +WARNING(RSC-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): Warning while parsing file: The "head" element should have a "title" child element. +ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,1): 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/inline_css.xhtml(14,22): The "direction" property must not be included in an EPUB Style Sheet. USAGE(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(15,1): CSS selector specifies fixed position. -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. +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. USAGE(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(66,5): CSS selector specifies fixed position. -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(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(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(HTM-033): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): HTML 'head' element does not have a 'title' child 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: '14px' -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: '12px' -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. -USAGE(CSS-021): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(11,5): Shorthand CSS property 'font-family' specifies an invalid System Font. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(15,5): Value of CSS property 'font-size' does not use a relative size: '18px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(19,5): Value of CSS property 'font-size' does not use a relative size: '18px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property 'line-height' does not use a relative size. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(35,5): Value of CSS property 'font-size' does not use a relative size: 'x-large' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(39,5): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(HTM-033): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): HTML "head" element does not have a "title" child 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: "14px" +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: "12px" +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. +USAGE(CSS-021): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(11,5): Shorthand CSS property "font-family" specifies an invalid System Font. +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(15,5): Value of CSS property "font-size" does not use a relative size: "18px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(19,5): Value of CSS property "font-size" does not use a relative size: "18px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property "line-height" does not use a relative size. +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(35,5): Value of CSS property "font-size" does not use a relative size: "x-large" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(39,5): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(70,5): CSS selector specifies absolute position. USAGE(CSS-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(79,5): CSS property is declared !Important. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(90,5): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(90,5): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-023): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(97,1): CSS selector specifies media query. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(99,9): Value of CSS property 'font-size' does not use a relative size: 'large' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(8,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(14,5): Value of CSS property 'font-size' does not use a relative size: '22px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(23,5): Value of CSS property 'font-size' does not use a relative size: '14px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(32,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(38,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(51,5): Value of CSS property 'font-size' does not use a relative size: '11px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(58,5): Value of CSS property 'font-size' does not use a relative size: '10px' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(99,9): Value of CSS property "font-size" does not use a relative size: "large" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(8,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(14,5): Value of CSS property "font-size" does not use a relative size: "22px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(23,5): Value of CSS property "font-size" does not use a relative size: "14px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(32,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(38,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(51,5): Value of CSS property "font-size" does not use a relative size: "11px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(58,5): Value of CSS property "font-size" does not use a relative size: "10px" USAGE(CSS-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(2,5): CSS selector specifies absolute position. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property 'line-height' does not use a relative size. +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property "line-height" does not use a relative size. USAGE(CSS-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(15,5): CSS property is declared !Important. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(27,5): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(27,5): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-023): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(33,1): CSS selector specifies media query. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(35,9): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(35,9): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(9,13): CSS property is declared !Important. USAGE(CSS-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(17,13): CSS selector specifies absolute position. USAGE(CSS-023): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(20,9): CSS selector specifies media query. 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 2bae0b8ec..878db6055 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 @@ -1,47 +1,47 @@ Start command_line test('severity_overrideOk') Validating using EPUB version 3.0.1 rules. -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. +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. USAGE(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(38,13): CSS selector specifies fixed position. -WARNING(RSC-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): Warning while parsing file: The 'head' element should have a 'title' child element. -ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,1): 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/inline_css.xhtml(14,22): The 'direction' property must not be included in an EPUB Style Sheet. +WARNING(RSC-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): Warning while parsing file: The "head" element should have a "title" child element. +ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,1): 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/inline_css.xhtml(14,22): The "direction" property must not be included in an EPUB Style Sheet. USAGE(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(15,1): CSS selector specifies fixed position. -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. +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. USAGE(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(66,5): CSS selector specifies fixed position. -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(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. 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(HTM-033): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): HTML 'head' element does not have a 'title' child 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: '14px' -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: '12px' -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. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(15,5): Value of CSS property 'font-size' does not use a relative size: '18px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(19,5): Value of CSS property 'font-size' does not use a relative size: '18px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property 'line-height' does not use a relative size. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(35,5): Value of CSS property 'font-size' does not use a relative size: 'x-large' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(39,5): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(HTM-033): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): HTML "head" element does not have a "title" child 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: "14px" +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: "12px" +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. +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(15,5): Value of CSS property "font-size" does not use a relative size: "18px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(19,5): Value of CSS property "font-size" does not use a relative size: "18px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property "line-height" does not use a relative size. +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(35,5): Value of CSS property "font-size" does not use a relative size: "x-large" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(39,5): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(70,5): CSS selector specifies absolute position. USAGE(CSS-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(79,5): CSS property is declared !Important. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(90,5): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(90,5): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-023): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(97,1): CSS selector specifies media query. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(99,9): Value of CSS property 'font-size' does not use a relative size: 'large' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(8,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(14,5): Value of CSS property 'font-size' does not use a relative size: '22px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(23,5): Value of CSS property 'font-size' does not use a relative size: '14px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(32,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(38,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(51,5): Value of CSS property 'font-size' does not use a relative size: '11px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(58,5): Value of CSS property 'font-size' does not use a relative size: '10px' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(99,9): Value of CSS property "font-size" does not use a relative size: "large" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(8,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(14,5): Value of CSS property "font-size" does not use a relative size: "22px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(23,5): Value of CSS property "font-size" does not use a relative size: "14px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(32,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(38,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(51,5): Value of CSS property "font-size" does not use a relative size: "11px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(58,5): Value of CSS property "font-size" does not use a relative size: "10px" USAGE(CSS-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(2,5): CSS selector specifies absolute position. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property 'line-height' does not use a relative size. +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property "line-height" does not use a relative size. USAGE(CSS-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(15,5): CSS property is declared !Important. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(27,5): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(27,5): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-023): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(33,1): CSS selector specifies media query. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(35,9): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(35,9): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(9,13): CSS property is declared !Important. USAGE(CSS-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(17,13): CSS selector specifies absolute position. USAGE(CSS-023): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(20,9): CSS selector specifies media query. 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 fc98e306b..c9d84dcbd 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 @@ -1,48 +1,48 @@ Start command_line test('severity_usage') Validating using EPUB version 3.0.1 rules. -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. +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. USAGE(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(38,13): CSS selector specifies fixed position. -WARNING(RSC-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): Warning while parsing file: The 'head' element should have a 'title' child element. -ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,1): 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/inline_css.xhtml(14,22): The 'direction' property must not be included in an EPUB Style Sheet. +WARNING(RSC-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): Warning while parsing file: The "head" element should have a "title" child element. +ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,1): 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/inline_css.xhtml(14,22): The "direction" property must not be included in an EPUB Style Sheet. USAGE(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(15,1): CSS selector specifies fixed position. -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. +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. USAGE(CSS-006): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(66,5): CSS selector specifies fixed position. -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(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(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(HTM-033): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): HTML 'head' element does not have a 'title' child 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: '14px' -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: '12px' -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. -USAGE(CSS-021): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(11,5): Shorthand CSS property 'font-family' specifies an invalid System Font. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(15,5): Value of CSS property 'font-size' does not use a relative size: '18px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(19,5): Value of CSS property 'font-size' does not use a relative size: '18px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property 'line-height' does not use a relative size. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(35,5): Value of CSS property 'font-size' does not use a relative size: 'x-large' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(39,5): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(HTM-033): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): HTML "head" element does not have a "title" child 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: "14px" +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: "12px" +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. +USAGE(CSS-021): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(11,5): Shorthand CSS property "font-family" specifies an invalid System Font. +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(15,5): Value of CSS property "font-size" does not use a relative size: "18px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(19,5): Value of CSS property "font-size" does not use a relative size: "18px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(27,5): Value of CSS property "line-height" does not use a relative size. +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(35,5): Value of CSS property "font-size" does not use a relative size: "x-large" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(39,5): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(70,5): CSS selector specifies absolute position. USAGE(CSS-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(79,5): CSS property is declared !Important. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(90,5): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(90,5): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-023): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(97,1): CSS selector specifies media query. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(99,9): Value of CSS property 'font-size' does not use a relative size: 'large' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(8,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(14,5): Value of CSS property 'font-size' does not use a relative size: '22px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(23,5): Value of CSS property 'font-size' does not use a relative size: '14px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(32,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(38,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(51,5): Value of CSS property 'font-size' does not use a relative size: '11px' -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(58,5): Value of CSS property 'font-size' does not use a relative size: '10px' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style.css(99,9): Value of CSS property "font-size" does not use a relative size: "large" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(8,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(14,5): Value of CSS property "font-size" does not use a relative size: "22px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(23,5): Value of CSS property "font-size" does not use a relative size: "14px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(32,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(38,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(51,5): Value of CSS property "font-size" does not use a relative size: "11px" +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/unused.css(58,5): Value of CSS property "font-size" does not use a relative size: "10px" USAGE(CSS-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(2,5): CSS selector specifies absolute position. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property 'font-size' does not use a relative size: '12px' -USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property 'line-height' does not use a relative size. +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property "font-size" does not use a relative size: "12px" +USAGE(ACC-015): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(10,5): Value of CSS property "line-height" does not use a relative size. USAGE(CSS-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(15,5): CSS property is declared !Important. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(27,5): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(27,5): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-023): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(33,1): CSS selector specifies media query. -USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(35,9): Value of CSS property 'font-size' does not use a relative size: 'large' +USAGE(ACC-014): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/cssStyles.css(35,9): Value of CSS property "font-size" does not use a relative size: "large" USAGE(CSS-013): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(9,13): CSS property is declared !Important. USAGE(CSS-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(17,13): CSS selector specifies absolute position. USAGE(CSS-023): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(20,9): CSS selector specifies media query. diff --git a/src/test/resources/com/adobe/epubcheck/test/command_line/severity_warning_expected_results.txt b/src/test/resources/com/adobe/epubcheck/test/command_line/severity_warning_expected_results.txt index 05af7e19b..8da35c57e 100644 --- a/src/test/resources/com/adobe/epubcheck/test/command_line/severity_warning_expected_results.txt +++ b/src/test/resources/com/adobe/epubcheck/test/command_line/severity_warning_expected_results.txt @@ -1,10 +1,10 @@ Start command_line test('severity_warning') -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. -WARNING(RSC-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): Warning while parsing file: The 'head' element should have a 'title' child element. -ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,1): 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/inline_css.xhtml(14,22): The 'direction' property must not be included in an EPUB Style Sheet. -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. +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. +WARNING(RSC-017): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/style_tag_css.xhtml(4,7): Warning while parsing file: The "head" element should have a "title" child element. +ERROR(CSS-001): ./com/adobe/epubcheck/test/command_line/severity.epub/OPS/inline_css.xhtml(14,1): 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/inline_css.xhtml(14,22): The "direction" property must not be included in an EPUB Style Sheet. +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. Check finished with errors Messages: 0 fatals / 5 errors / 1 warning 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 e2737e1d9..acb35daf0 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 @@ -25,7 +25,7 @@ - ACC-008, HINT, Navigation Document has no 'landmarks nav' element. + ACC-008, HINT, Navigation Document has no "landmarks nav" element. @@ -33,7 +33,7 @@ - HTM-010, HINT, Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found. + HTM-010, HINT, Namespace uri "http://www.daisy.org/z3986/2005/ncx/" was found. 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 be46d00b7..07ec73f71 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -73,7 +73,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 71943fbc6..91e9a9af8 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -90,7 +90,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 fa2df5dab..06e6dcc3f 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,8 +1,8 @@ -{ + { "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -41,7 +41,7 @@ }, { "ID" : "ACC-014", "severity" : "USAGE", - "message" : "Value of CSS property 'font-size' does not use a relative size: '10px'", + "message" : "Value of CSS property \"font-size\" does not use a relative size: \"10px\"", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/unused.css", @@ -49,11 +49,11 @@ "column" : 5, "context" : "font-size : 10px ;" } ], - "suggestion" : "Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'." + "suggestion" : "Acceptable values include percentages, em multiples, \"larger\", \"smaller\", \"normal\" or \"inherit\"." }, { "ID" : "ACC-014", "severity" : "USAGE", - "message" : "Value of CSS property 'font-size' does not use a relative size: '11px'", + "message" : "Value of CSS property \"font-size\" does not use a relative size: \"11px\"", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/unused.css", @@ -61,11 +61,11 @@ "column" : 5, "context" : "font-size : 11px ;" } ], - "suggestion" : "Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'." + "suggestion" : "Acceptable values include percentages, em multiples, \"larger\", \"smaller\", \"normal\" or \"inherit\"." }, { "ID" : "ACC-014", "severity" : "USAGE", - "message" : "Value of CSS property 'font-size' does not use a relative size: '12px'", + "message" : "Value of CSS property \"font-size\" does not use a relative size: \"12px\"", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/cssStyles.css", @@ -98,11 +98,11 @@ "column" : 5, "context" : "font-size : 12px ;" } ], - "suggestion" : "Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'." + "suggestion" : "Acceptable values include percentages, em multiples, \"larger\", \"smaller\", \"normal\" or \"inherit\"." }, { "ID" : "ACC-014", "severity" : "USAGE", - "message" : "Value of CSS property 'font-size' does not use a relative size: '14px'", + "message" : "Value of CSS property \"font-size\" does not use a relative size: \"14px\"", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/style.css", @@ -115,11 +115,11 @@ "column" : 5, "context" : "font-size : 14px ;" } ], - "suggestion" : "Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'." + "suggestion" : "Acceptable values include percentages, em multiples, \"larger\", \"smaller\", \"normal\" or \"inherit\"." }, { "ID" : "ACC-014", "severity" : "USAGE", - "message" : "Value of CSS property 'font-size' does not use a relative size: '18px'", + "message" : "Value of CSS property \"font-size\" does not use a relative size: \"18px\"", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/style.css", @@ -132,11 +132,11 @@ "column" : 5, "context" : "font : 18px ;" } ], - "suggestion" : "Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'." + "suggestion" : "Acceptable values include percentages, em multiples, \"larger\", \"smaller\", \"normal\" or \"inherit\"." }, { "ID" : "ACC-014", "severity" : "USAGE", - "message" : "Value of CSS property 'font-size' does not use a relative size: '22px'", + "message" : "Value of CSS property \"font-size\" does not use a relative size: \"22px\"", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/unused.css", @@ -144,11 +144,11 @@ "column" : 5, "context" : "font-size : 22px ;" } ], - "suggestion" : "Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'." + "suggestion" : "Acceptable values include percentages, em multiples, \"larger\", \"smaller\", \"normal\" or \"inherit\"." }, { "ID" : "ACC-014", "severity" : "USAGE", - "message" : "Value of CSS property 'font-size' does not use a relative size: 'large'", + "message" : "Value of CSS property \"font-size\" does not use a relative size: \"large\"", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/cssStyles.css", @@ -176,11 +176,11 @@ "column" : 9, "context" : "font-size : large ;" } ], - "suggestion" : "Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'." + "suggestion" : "Acceptable values include percentages, em multiples, \"larger\", \"smaller\", \"normal\" or \"inherit\"." }, { "ID" : "ACC-014", "severity" : "USAGE", - "message" : "Value of CSS property 'font-size' does not use a relative size: 'x-large'", + "message" : "Value of CSS property \"font-size\" does not use a relative size: \"x-large\"", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/style.css", @@ -188,11 +188,11 @@ "column" : 5, "context" : "font : x-large / 110% 'New Century Schoolbook' , serif ;" } ], - "suggestion" : "Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'." + "suggestion" : "Acceptable values include percentages, em multiples, \"larger\", \"smaller\", \"normal\" or \"inherit\"." }, { "ID" : "ACC-015", "severity" : "USAGE", - "message" : "Value of CSS property 'line-height' does not use a relative size.", + "message" : "Value of CSS property \"line-height\" does not use a relative size.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/cssStyles.css", @@ -210,11 +210,11 @@ "column" : 5, "context" : "font : 600 12px / 14px sans-serif ;" } ], - "suggestion" : "Acceptable values include percentages, numeric multiples, em multiples, 'normal', or 'inherit'." + "suggestion" : "Acceptable values include percentages, numeric multiples, em multiples, \"normal\", or \"inherit\"." }, { "ID" : "CSS-001", "severity" : "ERROR", - "message" : "The 'direction' property must not be included in an EPUB Style Sheet.", + "message" : "The \"direction\" property must not be included in an EPUB Style Sheet.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/inline_css.xhtml", @@ -231,7 +231,7 @@ }, { "ID" : "CSS-001", "severity" : "ERROR", - "message" : "The 'unicode-bidi' property must not be included in an EPUB Style Sheet.", + "message" : "The \"unicode-bidi\" property must not be included in an EPUB Style Sheet.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/inline_css.xhtml", @@ -336,7 +336,7 @@ }, { "ID" : "CSS-021", "severity" : "USAGE", - "message" : "Shorthand CSS property 'font-family' specifies an invalid System Font.", + "message" : "Shorthand CSS property \"font-family\" specifies an invalid System Font.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/style.css", @@ -344,7 +344,7 @@ "column" : 5, "context" : "font : joke ;" } ], - "suggestion" : "Acceptable values include 'caption', 'icon', 'menu', 'message-box', 'small-caption', 'status-bar', or 'inherit'." + "suggestion" : "Acceptable values include \"caption\", \"icon\", \"menu\", \"message-box\", \"small-caption\", \"status-bar\", or \"inherit\"." }, { "ID" : "CSS-023", "severity" : "USAGE", @@ -489,7 +489,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 977b75ca3..5255f5e6a 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 @@ -13,50 +13,50 @@ 3.0.1 Not well-formed - CSS-001, ERROR, [The 'unicode-bidi' property must not be included in an EPUB Style Sheet.], OPS/style_tag_css.xhtml (27-13) - CSS-001, ERROR, [The 'unicode-bidi' property must not be included in an EPUB Style Sheet.], OPS/inline_css.xhtml (14-1) - 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-001, ERROR, [The "unicode-bidi" property must not be included in an EPUB Style Sheet.], OPS/style_tag_css.xhtml (27-13) + CSS-001, ERROR, [The "unicode-bidi" property must not be included in an EPUB Style Sheet.], OPS/inline_css.xhtml (14-1) + 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-006, HINT, [CSS position:fixed property should not be used in EPUBs.], OPS/style_tag_css.xhtml (38-13) CSS-006, HINT, [CSS position:fixed property should not be used in EPUBs.], OPS/inline_css.xhtml (15-1) CSS-006, HINT, [CSS position:fixed property should not be used in EPUBs.], OPS/style.css (66-5) CSS-017, HINT, [CSS selector specifies absolute position.], OPS/style.css (70-5) CSS-017, HINT, [CSS selector specifies absolute position.], OPS/cssStyles.css (2-5) CSS-017, HINT, [CSS selector specifies absolute position.], OPS/style_tag_css.xhtml (17-13) - 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.], OPS/toc.xhtml + HTM-010, HINT, [Namespace uri "http://www.daisy.org/z3986/2005/ncx/" was found.], OPS/toc.ncx (2-68) 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-014, HINT, [Value of CSS property 'font-size' does not use a relative size: '14px'], OPS/style.css (2-5) - ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size: '14px'], OPS/unused.css (23-5) - ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size: '12px'], OPS/style.css (7-5) - ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size: '12px'], OPS/style.css (27-5) - ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size: '12px'], OPS/unused.css (8-5) - ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size: '12px'], OPS/unused.css (32-5) - ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size: '12px'], OPS/unused.css (38-5) - ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size: '12px'], OPS/cssStyles.css (10-5) - ACC-015, HINT, [Value of CSS property 'line-height' does not use a relative size.], OPS/style.css (7-5) - ACC-015, HINT, [Value of CSS property 'line-height' does not use a relative size.], OPS/style.css (27-5) - ACC-015, HINT, [Value of CSS property 'line-height' does not use a relative size.], OPS/cssStyles.css (10-5) - CSS-021, HINT, [Shorthand CSS property 'font-family' specifies an invalid System Font.], OPS/style.css (11-5) - ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size: '18px'], OPS/style.css (15-5) - ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size: '18px'], OPS/style.css (19-5) - ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size: 'x-large'], OPS/style.css (35-5) - ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size: 'large'], OPS/style.css (39-5) - ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size: 'large'], OPS/style.css (90-5) - ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size: 'large'], OPS/style.css (99-9) - ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size: 'large'], OPS/cssStyles.css (27-5) - ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size: 'large'], OPS/cssStyles.css (35-9) + ACC-014, HINT, [Value of CSS property "font-size" does not use a relative size: "14px"], OPS/style.css (2-5) + ACC-014, HINT, [Value of CSS property "font-size" does not use a relative size: "14px"], OPS/unused.css (23-5) + ACC-014, HINT, [Value of CSS property "font-size" does not use a relative size: "12px"], OPS/style.css (7-5) + ACC-014, HINT, [Value of CSS property "font-size" does not use a relative size: "12px"], OPS/style.css (27-5) + ACC-014, HINT, [Value of CSS property "font-size" does not use a relative size: "12px"], OPS/unused.css (8-5) + ACC-014, HINT, [Value of CSS property "font-size" does not use a relative size: "12px"], OPS/unused.css (32-5) + ACC-014, HINT, [Value of CSS property "font-size" does not use a relative size: "12px"], OPS/unused.css (38-5) + ACC-014, HINT, [Value of CSS property "font-size" does not use a relative size: "12px"], OPS/cssStyles.css (10-5) + ACC-015, HINT, [Value of CSS property "line-height" does not use a relative size.], OPS/style.css (7-5) + ACC-015, HINT, [Value of CSS property "line-height" does not use a relative size.], OPS/style.css (27-5) + ACC-015, HINT, [Value of CSS property "line-height" does not use a relative size.], OPS/cssStyles.css (10-5) + CSS-021, HINT, [Shorthand CSS property "font-family" specifies an invalid System Font.], OPS/style.css (11-5) + ACC-014, HINT, [Value of CSS property "font-size" does not use a relative size: "18px"], OPS/style.css (15-5) + ACC-014, HINT, [Value of CSS property "font-size" does not use a relative size: "18px"], OPS/style.css (19-5) + ACC-014, HINT, [Value of CSS property "font-size" does not use a relative size: "x-large"], OPS/style.css (35-5) + ACC-014, HINT, [Value of CSS property "font-size" does not use a relative size: "large"], OPS/style.css (39-5) + ACC-014, HINT, [Value of CSS property "font-size" does not use a relative size: "large"], OPS/style.css (90-5) + ACC-014, HINT, [Value of CSS property "font-size" does not use a relative size: "large"], OPS/style.css (99-9) + ACC-014, HINT, [Value of CSS property "font-size" does not use a relative size: "large"], OPS/cssStyles.css (27-5) + ACC-014, HINT, [Value of CSS property "font-size" does not use a relative size: "large"], OPS/cssStyles.css (35-9) CSS-013, HINT, [CSS property is declared !Important.], OPS/style.css (79-5) CSS-013, HINT, [CSS property is declared !Important.], OPS/cssStyles.css (15-5) CSS-013, HINT, [CSS property is declared !Important.], OPS/style_tag_css.xhtml (9-13) CSS-023, HINT, [CSS selector specifies media query.], OPS/style.css (97-1) CSS-023, HINT, [CSS selector specifies media query.], OPS/cssStyles.css (33-1) CSS-023, HINT, [CSS selector specifies media query.], OPS/style_tag_css.xhtml (20-9) - ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size: '22px'], OPS/unused.css (14-5) - ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size: '11px'], OPS/unused.css (51-5) - ACC-014, HINT, [Value of CSS property 'font-size' does not use a relative size: '10px'], OPS/unused.css (58-5) + ACC-014, HINT, [Value of CSS property "font-size" does not use a relative size: "22px"], OPS/unused.css (14-5) + ACC-014, HINT, [Value of CSS property "font-size" does not use a relative size: "11px"], OPS/unused.css (51-5) + ACC-014, HINT, [Value of CSS property "font-size" does not use a relative size: "10px"], OPS/unused.css (58-5) 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/style.css (6-1) 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 511bcb8c7..82f122282 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 327d42b3d..49152fe11 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -26,7 +26,7 @@ }, { "ID" : "ACC-014", "severity" : "USAGE", - "message" : "Value of CSS property 'font-size' does not use a relative size: 'xx-large'", + "message" : "Value of CSS property \"font-size\" does not use a relative size: \"xx-large\"", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/styles/style.css", @@ -54,7 +54,7 @@ "column" : 5, "context" : "font-size : xx-large ;" } ], - "suggestion" : "Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'." + "suggestion" : "Acceptable values include percentages, em multiples, \"larger\", \"smaller\", \"normal\" or \"inherit\"." }, { "ID" : "CSS-002", "severity" : "ERROR", @@ -70,7 +70,7 @@ }, { "ID" : "CSS-007", "severity" : "INFO", - "message" : "Font-face reference OPS/fonts/brankovic.ttf refers to non-standard font type application/x-font-truetype.", + "message" : "Font-face reference \"OPS/fonts/brankovic.ttf\" refers to non-standard font type \"application/x-font-truetype\".", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/styles/style.css", @@ -82,7 +82,7 @@ }, { "ID" : "CSS-008", "severity" : "ERROR", - "message" : "An error occurred while parsing the CSS: Token '}' not allowed here, expecting a property value.", + "message" : "An error occurred while parsing the CSS: Token \"}\" not allowed here, expecting a property value.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/styles/style.css", @@ -123,7 +123,7 @@ }, { "ID" : "CSS-020", "severity" : "ERROR", - "message" : "CSS font selector declaration uses unexpected font-size value '5'.", + "message" : "CSS font selector declaration uses unexpected font-size value \"5\".", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/styles/style.css", @@ -131,7 +131,7 @@ "column" : 5, "context" : "font : 5 arial , sans-serif ;" } ], - "suggestion" : "Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'." + "suggestion" : "Acceptable values include percentages, em multiples, \"larger\", \"smaller\", \"normal\" or \"inherit\"." }, { "ID" : "CSS-024", "severity" : "USAGE", @@ -293,7 +293,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -305,7 +305,7 @@ }, { "ID" : "OPF-014", "severity" : "ERROR", - "message" : "The property 'remote-resources' should be declared in the OPF file.", + "message" : "The property \"remote-resources\" should be declared in the OPF file.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/style_tag_css.xhtml", @@ -322,7 +322,7 @@ }, { "ID" : "OPF-090", "severity" : "USAGE", - "message" : "It is encouraged to use MIME media type 'font/otf' instead of 'application/vnd.ms-opentype'. ", + "message" : "It is encouraged to use MIME media type \"font/otf\" instead of \"application/vnd.ms-opentype\". ", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", @@ -334,7 +334,7 @@ }, { "ID" : "OPF-090", "severity" : "USAGE", - "message" : "It is encouraged to use MIME media type 'font/woff' instead of 'application/font-woff'. ", + "message" : "It is encouraged to use MIME media type \"font/woff\" instead of \"application/font-woff\". ", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", @@ -358,7 +358,7 @@ }, { "ID" : "RSC-007", "severity" : "ERROR", - "message" : "Referenced resource 'OPS/fonts/badaboom.woff' could not be found in the EPUB.", + "message" : "Referenced resource \"OPS/fonts/badaboom.woff\" could not be found in the EPUB.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/style_tag_css.xhtml", @@ -375,7 +375,7 @@ }, { "ID" : "RSC-007", "severity" : "ERROR", - "message" : "Referenced resource 'OPS/styles/fonts/bloody.woff' could not be found in the EPUB.", + "message" : "Referenced resource \"OPS/styles/fonts/bloody.woff\" could not be found in the EPUB.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/styles/style.css", @@ -387,7 +387,7 @@ }, { "ID" : "RSC-008", "severity" : "ERROR", - "message" : "Referenced resource 'http://developer.mozilla.org/@api/deki/files/2934/=VeraSeBd.ttf' is not declared in the OPF manifest.", + "message" : "Referenced resource \"http://developer.mozilla.org/@api/deki/files/2934/=VeraSeBd.ttf\" is not declared in the OPF manifest.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/styles/style.css", @@ -399,7 +399,7 @@ }, { "ID" : "RSC-008", "severity" : "ERROR", - "message" : "Referenced resource 'http://themes.googleusercontent.com/static/fonts/chelaone/v1/DHUBEAsCcSRMyWTJ6sisfj8E0i7KZn-EPnyo3HZu7kw.woff' is not declared in the OPF manifest.", + "message" : "Referenced resource \"http://themes.googleusercontent.com/static/fonts/chelaone/v1/DHUBEAsCcSRMyWTJ6sisfj8E0i7KZn-EPnyo3HZu7kw.woff\" is not declared in the OPF manifest.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/style_tag_css.xhtml", 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 43e1ec5be..fa3b407a3 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 @@ -37,7 +37,7 @@ - OPF-014, ERROR, The property 'remote-resources' should be declared in the OPF file. + OPF-014, ERROR, The property "remote-resources" should be declared in the OPF file. @@ -54,7 +54,7 @@ - CSS-008, ERROR, An error occurred while parsing the CSS: Token '}' not allowed here, expecting a property value. + CSS-008, ERROR, An error occurred while parsing the CSS: Token "}" not allowed here, expecting a property value. @@ -70,7 +70,7 @@ - RSC-007, ERROR, Referenced resource 'OPS/fonts/badaboom.woff' could not be found in the EPUB. + RSC-007, ERROR, Referenced resource "OPS/fonts/badaboom.woff" could not be found in the EPUB. @@ -79,7 +79,7 @@ - RSC-008, ERROR, Referenced resource 'http://themes.googleusercontent.com/static/fonts/chelaone/v1/DHUBEAsCcSRMyWTJ6sisfj8E0i7KZn-EPnyo3HZu7kw.woff' is not declared in the OPF manifest. + RSC-008, ERROR, Referenced resource "http://themes.googleusercontent.com/static/fonts/chelaone/v1/DHUBEAsCcSRMyWTJ6sisfj8E0i7KZn-EPnyo3HZu7kw.woff" is not declared in the OPF manifest. @@ -87,7 +87,7 @@ - RSC-007, ERROR, Referenced resource 'OPS/styles/fonts/bloody.woff' could not be found in the EPUB. + RSC-007, ERROR, Referenced resource "OPS/styles/fonts/bloody.woff" could not be found in the EPUB. @@ -95,7 +95,7 @@ - RSC-008, ERROR, Referenced resource 'http://developer.mozilla.org/@api/deki/files/2934/=VeraSeBd.ttf' is not declared in the OPF manifest. + RSC-008, ERROR, Referenced resource "http://developer.mozilla.org/@api/deki/files/2934/=VeraSeBd.ttf" is not declared in the OPF manifest. @@ -103,7 +103,7 @@ - CSS-020, ERROR, CSS font selector declaration uses unexpected font-size value '5'. + CSS-020, ERROR, CSS font selector declaration uses unexpected font-size value "5". @@ -119,7 +119,7 @@ - OPF-090, HINT, It is encouraged to use MIME media type 'font/otf' instead of 'application/vnd.ms-opentype'. + OPF-090, HINT, It is encouraged to use MIME media type "font/otf" instead of "application/vnd.ms-opentype". @@ -127,7 +127,7 @@ - OPF-090, HINT, It is encouraged to use MIME media type 'font/woff' instead of 'application/font-woff'. + OPF-090, HINT, It is encouraged to use MIME media type "font/woff" instead of "application/font-woff". @@ -164,7 +164,7 @@ - ACC-008, HINT, Navigation Document has no 'landmarks nav' element. + ACC-008, HINT, Navigation Document has no "landmarks nav" element. @@ -172,7 +172,7 @@ - HTM-010, HINT, Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found. + HTM-010, HINT, Namespace uri "http://www.daisy.org/z3986/2005/ncx/" was found. @@ -197,7 +197,7 @@ - ACC-014, HINT, Value of CSS property 'font-size' does not use a relative size: 'xx-large' + ACC-014, HINT, Value of CSS property "font-size" does not use a relative size: "xx-large" diff --git a/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_adobe_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_adobe_expected_results.json index 467f3c7ff..b086c4410 100644 --- a/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_adobe_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_adobe_expected_results.json @@ -1,4 +1,4 @@ -{ + { "customMessageFileName" : null, "checker" : { "path" : "./com/adobe/epubcheck/test/css/font_encryption_adobe.epub", @@ -263,7 +263,7 @@ }, { "ID" : "HTM-004", "severity" : "ERROR", - "message" : "Irregular DOCTYPE: found '-//W3C//DTD XHTML 1.1 //EN', expected ''.", + "message" : "Irregular DOCTYPE: found \"-//W3C//DTD XHTML 1.1 //EN\", expected \"\".", "additionalLocations" : 0, "locations" : [ { "path" : "OEBPS/am-font-test.html", @@ -275,7 +275,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OEBPS/toc.ncx", @@ -287,7 +287,7 @@ }, { "ID" : "HTM-020", "severity" : "USAGE", - "message" : "Content file doesn't contain xml:lang attribute.", + "message" : "Content file doesn’t contain xml:lang attribute.", "additionalLocations" : 0, "locations" : [ { "path" : "OEBPS/am-font-test.html", @@ -299,7 +299,7 @@ }, { "ID" : "HTM-021", "severity" : "USAGE", - "message" : "Content file doesn't contain lang attribute.", + "message" : "Content file doesn’t contain lang attribute.", "additionalLocations" : 0, "locations" : [ { "path" : "OEBPS/am-font-test.html", 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 6c332d808..07872f69e 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "Css-fontface/pages/toc.xhtml", @@ -245,7 +245,7 @@ }, { "ID" : "OPF-090", "severity" : "USAGE", - "message" : "It is encouraged to use MIME media type 'font/otf' instead of 'application/vnd.ms-opentype'. ", + "message" : "It is encouraged to use MIME media type \"font/otf\" instead of \"application/vnd.ms-opentype\". ", "additionalLocations" : 0, "locations" : [ { "path" : "Css-fontface/package.opf", @@ -282,7 +282,7 @@ }, { "ID" : "OPF-090", "severity" : "USAGE", - "message" : "It is encouraged to use MIME media type 'font/woff' instead of 'application/font-woff'. ", + "message" : "It is encouraged to use MIME media type \"font/woff\" instead of \"application/font-woff\". ", "additionalLocations" : 0, "locations" : [ { "path" : "Css-fontface/package.opf", 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 e8be4301d..2f761150c 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 @@ -47,7 +47,7 @@ - OPF-090, HINT, It is encouraged to use MIME media type 'font/woff' instead of 'application/font-woff'. + OPF-090, HINT, It is encouraged to use MIME media type "font/woff" instead of "application/font-woff". @@ -60,7 +60,7 @@ - OPF-090, HINT, It is encouraged to use MIME media type 'font/otf' instead of 'application/vnd.ms-opentype'. + OPF-090, HINT, It is encouraged to use MIME media type "font/otf" instead of "application/vnd.ms-opentype". @@ -106,7 +106,7 @@ - ACC-008, HINT, Navigation Document has no 'landmarks nav' element. + ACC-008, HINT, Navigation Document has no "landmarks nav" element. diff --git a/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_unknown_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_unknown_expected_results.json index 34607dceb..e857173a7 100644 --- a/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_unknown_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/css/font_encryption_unknown_expected_results.json @@ -263,7 +263,7 @@ }, { "ID" : "HTM-004", "severity" : "ERROR", - "message" : "Irregular DOCTYPE: found '-//W3C//DTD XHTML 1.1 //EN', expected ''.", + "message" : "Irregular DOCTYPE: found \"-//W3C//DTD XHTML 1.1 //EN\", expected \"\".", "additionalLocations" : 0, "locations" : [ { "path" : "OEBPS/am-font-test.html", @@ -275,7 +275,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OEBPS/toc.ncx", @@ -287,7 +287,7 @@ }, { "ID" : "HTM-020", "severity" : "USAGE", - "message" : "Content file doesn't contain xml:lang attribute.", + "message" : "Content file doesn’t contain xml:lang attribute.", "additionalLocations" : 0, "locations" : [ { "path" : "OEBPS/am-font-test.html", @@ -299,7 +299,7 @@ }, { "ID" : "HTM-021", "severity" : "USAGE", - "message" : "Content file doesn't contain lang attribute.", + "message" : "Content file doesn’t contain lang attribute.", "additionalLocations" : 0, "locations" : [ { "path" : "OEBPS/am-font-test.html", @@ -323,7 +323,7 @@ }, { "ID" : "RSC-004", "severity" : "ERROR", - "message" : "File 'OEBPS/fonts/ChaparralPro-Regular.otf' could not be decrypted.", + "message" : "File \"OEBPS/fonts/ChaparralPro-Regular.otf\" could not be decrypted.", "additionalLocations" : 0, "locations" : [ { "path" : "font_encryption_unknown.epub", 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 ea4fe15aa..cb008bcd5 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "ACC-014", "severity" : "USAGE", - "message" : "Value of CSS property 'font-size' does not use a relative size: 'xx-large'", + "message" : "Value of CSS property \"font-size\" does not use a relative size: \"xx-large\"", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/style.css", @@ -22,7 +22,7 @@ "column" : 5, "context" : "font-size : xx-large ;" } ], - "suggestion" : "Acceptable values include percentages, em multiples, 'larger', 'smaller', 'normal' or 'inherit'." + "suggestion" : "Acceptable values include percentages, em multiples, \"larger\", \"smaller\", \"normal\" or \"inherit\"." }, { "ID" : "CSS-009", "severity" : "USAGE", @@ -78,7 +78,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 e591f8b94..25923e76b 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -48,7 +48,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 af8c6d95f..4bdebd388 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -73,7 +73,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 e1428c5d6..fc5ba9309 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -78,7 +78,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 b59f08800..6c902e63c 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "HTM-004", "severity" : "ERROR", - "message" : "Irregular DOCTYPE: found '-//W3C//DTD XHTML 1.1//EN', expected ''.", + "message" : "Irregular DOCTYPE: found \"-//W3C//DTD XHTML 1.1//EN\", expected \"\".", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/page01.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -26,7 +26,7 @@ }, { "ID" : "RSC-005", "severity" : "ERROR", - "message" : "Error while parsing file: Exactly one manifest item must declare the 'nav' property (number of 'nav' items: 0).", + "message" : "Error while parsing file: Exactly one manifest item must declare the \"nav\" property (number of \"nav\" items: 0).", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Epub3_marked_v2_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Epub3_marked_v2_expected_results.json index a4c736d41..207be9709 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Epub3_marked_v2_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Epub3_marked_v2_expected_results.json @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "HTM-004", "severity" : "ERROR", - "message" : "Irregular DOCTYPE: found '', expected ''.", + "message" : "Irregular DOCTYPE: found \"\", expected \"\".", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Excessive_Spine_Items_epub2_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Excessive_Spine_Items_epub2_expected_results.json index 79cdec6c4..c5a76a912 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Excessive_Spine_Items_epub2_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Excessive_Spine_Items_epub2_expected_results.json @@ -2331,7 +2331,7 @@ "messages" : [ { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 af68f3784..982431ec7 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 b07ee34e6..f688fb5d8 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 3d315d18b..845b5a627 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Fallbacks_epub2_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Fallbacks_epub2_expected_results.json index bc41d6186..ef2d5de22 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Fallbacks_epub2_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Fallbacks_epub2_expected_results.json @@ -197,7 +197,7 @@ "messages" : [ { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 9919a67d8..8943fbb2c 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 c6a0a17d0..6114cb24c 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -26,7 +26,7 @@ }, { "ID" : "OPF-008", "severity" : "ERROR", - "message" : "Handler binding for core Media-type 'image/jpeg' is not allowed.", + "message" : "Handler binding for core Media-type \"image/jpeg\" is not allowed.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", @@ -38,7 +38,7 @@ }, { "ID" : "OPF-009", "severity" : "ERROR", - "message" : "The media-type 'application/x-demo-popup' has already been assigned a handler, with ID 'valid'.", + "message" : "The media-type \"application/x-demo-popup\" has already been assigned a handler, with ID \"valid\".", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", @@ -50,7 +50,7 @@ }, { "ID" : "OPF-013", "severity" : "ERROR", - "message" : "The type property 'application/x-demo-slideshow' on the object tag does not match the declared media-type 'application/x-demo-popup' in the OPF manifest.", + "message" : "The type property \"application/x-demo-slideshow\" on the object tag does not match the declared media-type \"application/x-demo-popup\" in the OPF manifest.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/page01.xhtml", @@ -74,7 +74,7 @@ }, { "ID" : "RSC-005", "severity" : "ERROR", - "message" : "Error while parsing file: manifest items referenced from the handler attribute of a bindings mediaType element must be of the 'application/xhtml+xml' type (given type was '')", + "message" : "Error while parsing file: manifest items referenced from the handler attribute of a bindings mediaType element must be of the \"application/xhtml+xml\" type (given type was \"\")", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Mismatched_mimetypes_epub2_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Mismatched_mimetypes_epub2_expected_results.json index 4d9fae470..24bd93ccb 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Mismatched_mimetypes_epub2_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Mismatched_mimetypes_epub2_expected_results.json @@ -263,7 +263,7 @@ "messages" : [ { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -287,7 +287,7 @@ }, { "ID" : "OPF-029", "severity" : "ERROR", - "message" : "The file 'OPS/image1.jpg' does not appear to match the media type image/gif, as specified in the OPF file.", + "message" : "The file \"OPS/image1.jpg\" does not appear to match the media type image/gif, as specified in the OPF file.", "additionalLocations" : 0, "locations" : [ { "path" : "Mismatched_mimetypes_epub2.epub", @@ -299,7 +299,7 @@ }, { "ID" : "OPF-035", "severity" : "WARNING", - "message" : "Media type 'text/html' is not appropriate for XHTML/OPS.", + "message" : "Media type \"text/html\" is not appropriate for XHTML/OPS.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", @@ -307,11 +307,11 @@ "column" : 68, "context" : "page01" } ], - "suggestion" : "Use 'application/xhtml+xml' instead." + "suggestion" : "Use \"application/xhtml+xml\" instead." }, { "ID" : "OPF-037", "severity" : "WARNING", - "message" : "Found deprecated media-type 'text/x-oeb1-css'.", + "message" : "Found deprecated media-type \"text/x-oeb1-css\".", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", @@ -323,7 +323,7 @@ }, { "ID" : "OPF-042", "severity" : "ERROR", - "message" : "'image/gif' is not a permissible spine media-type.", + "message" : "\"image/gif\" is not a permissible spine media-type.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", @@ -335,7 +335,7 @@ }, { "ID" : "OPF-043", "severity" : "ERROR", - "message" : "Spine item with non-standard media-type 'application/xhtml' has no fallback.", + "message" : "Spine item with non-standard media-type \"application/xhtml\" has no fallback.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", 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 049539072..01b0588ae 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -38,7 +38,7 @@ }, { "ID" : "OPF-029", "severity" : "ERROR", - "message" : "The file 'OPS/image1.jpg' does not appear to match the media type image/gif, as specified in the OPF file.", + "message" : "The file \"OPS/image1.jpg\" does not appear to match the media type image/gif, as specified in the OPF file.", "additionalLocations" : 0, "locations" : [ { "path" : "Mismatched_mimetypes_epub3.epub", @@ -50,7 +50,7 @@ }, { "ID" : "OPF-036", "severity" : "USAGE", - "message" : "Video type 'video/quicktime' might not be supported by reading systems", + "message" : "Video type \"video/quicktime\" might not be supported by reading systems", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/page02.xhtml", @@ -58,11 +58,11 @@ "column" : 58, "context" : null } ], - "suggestion" : "Use 'video/mp4', 'video/h264' or 'video/webm' instead." + "suggestion" : "Use \"video/mp4\", \"video/h264\" or \"video/webm\" instead." }, { "ID" : "OPF-043", "severity" : "ERROR", - "message" : "Spine item with non-standard media-type 'application/xhtml' has no fallback.", + "message" : "Spine item with non-standard media-type \"application/xhtml\" has no fallback.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", @@ -74,7 +74,7 @@ }, { "ID" : "OPF-043", "severity" : "ERROR", - "message" : "Spine item with non-standard media-type 'image/gif' has no fallback.", + "message" : "Spine item with non-standard media-type \"image/gif\" has no fallback.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Missing_NAV_epub2_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Missing_NAV_epub2_expected_results.json index 269f5b39d..433d27114 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Missing_NAV_epub2_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Missing_NAV_epub2_expected_results.json @@ -153,7 +153,7 @@ "messages" : [ { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 a6ee7bd64..4dc901c4b 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -14,7 +14,7 @@ }, { "ID" : "RSC-005", "severity" : "ERROR", - "message" : "Error while parsing file: Exactly one manifest item must declare the 'nav' property (number of 'nav' items: 0).", + "message" : "Error while parsing file: Exactly one manifest item must declare the \"nav\" property (number of \"nav\" items: 0).", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", 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 87cabcb44..3ea7be812 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", 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 b6ff5328e..e5700b67b 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/Missing_metadata_epub2_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/Missing_metadata_epub2_expected_results.json index ccf8c8665..ffb651617 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/Missing_metadata_epub2_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/Missing_metadata_epub2_expected_results.json @@ -153,7 +153,7 @@ "messages" : [ { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -165,7 +165,7 @@ }, { "ID" : "OPF-030", "severity" : "ERROR", - "message" : "The unique-identifier 'BOGUS' was not found.", + "message" : "The unique-identifier \"BOGUS\" was not found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", @@ -177,7 +177,7 @@ }, { "ID" : "OPF-052", "severity" : "ERROR", - "message" : "Role value 'companion' is not valid.", + "message" : "Role value \"companion\" is not valid.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", 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 e3e28e492..621871135 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -26,7 +26,7 @@ }, { "ID" : "OPF-030", "severity" : "ERROR", - "message" : "The unique-identifier 'BOGUS' was not found.", + "message" : "The unique-identifier \"BOGUS\" was not found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", @@ -50,7 +50,7 @@ }, { "ID" : "RSC-005", "severity" : "ERROR", - "message" : "Error while parsing file: package element unique-identifier attribute does not resolve to a dc:identifier element (given reference was 'BOGUS')", + "message" : "Error while parsing file: package element unique-identifier attribute does not resolve to a dc:identifier element (given reference was \"BOGUS\")", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", 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 bc4398abd..080daff70 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -26,7 +26,7 @@ }, { "ID" : "OPF-030", "severity" : "ERROR", - "message" : "The unique-identifier 'null' was not found.", + "message" : "The unique-identifier \"null\" was not found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", 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 b2cde1922..6f447dca6 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -26,7 +26,7 @@ }, { "ID" : "OPF-012", "severity" : "ERROR", - "message" : "Item property 'cover-image' is not defined for media type 'application/xhtml+xml'.", + "message" : "Item property \"cover-image\" is not defined for media type \"application/xhtml+xml\".", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", @@ -38,7 +38,7 @@ }, { "ID" : "OPF-014", "severity" : "ERROR", - "message" : "The property 'svg' should be declared in the OPF file.", + "message" : "The property \"svg\" should be declared in the OPF file.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/page04.xhtml", @@ -50,7 +50,7 @@ }, { "ID" : "OPF-014", "severity" : "ERROR", - "message" : "The property 'switch' should be declared in the OPF file.", + "message" : "The property \"switch\" should be declared in the OPF file.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/page04.xhtml", @@ -62,7 +62,7 @@ }, { "ID" : "OPF-015", "severity" : "ERROR", - "message" : "The property 'svg' should not be declared in the OPF file.", + "message" : "The property \"svg\" should not be declared in the OPF file.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/page02.xhtml", @@ -74,7 +74,7 @@ }, { "ID" : "OPF-026", "severity" : "ERROR", - "message" : "Found malformed property value: 'scripted:'.", + "message" : "Found malformed property value: \"scripted:\".", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", @@ -86,7 +86,7 @@ }, { "ID" : "OPF-027", "severity" : "ERROR", - "message" : "Undefined property: 'hello'.", + "message" : "Undefined property: \"hello\".", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", @@ -98,7 +98,7 @@ }, { "ID" : "RSC-017", "severity" : "WARNING", - "message" : "Warning while parsing file: The 'epub:switch' element is deprecated.", + "message" : "Warning while parsing file: The \"epub:switch\" element is deprecated.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/page03.xhtml", 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 11ae9150e..ad9b9aa0d 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", diff --git a/src/test/resources/com/adobe/epubcheck/test/opf/oebps12_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/opf/oebps12_expected_results.json index a81235bce..e1f98602d 100644 --- a/src/test/resources/com/adobe/epubcheck/test/opf/oebps12_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/opf/oebps12_expected_results.json @@ -197,7 +197,7 @@ "messages" : [ { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://openebook.org/namespaces/oeb-package/1.0/' was found.", + "message" : "Namespace uri \"http://openebook.org/namespaces/oeb-package/1.0/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "oebps12.opf", @@ -238,7 +238,7 @@ }, { "ID" : "OPF-030", "severity" : "ERROR", - "message" : "The unique-identifier 'OverDriveGUID' was not found.", + "message" : "The unique-identifier \"OverDriveGUID\" was not found.", "additionalLocations" : 0, "locations" : [ { "path" : "oebps12.opf", @@ -250,7 +250,7 @@ }, { "ID" : "OPF-038", "severity" : "WARNING", - "message" : "Media type 'text/html' is not appropriate for an OEBPS 1.2 context; Use 'text/x-oeb1-document' instead.", + "message" : "Media type \"text/html\" is not appropriate for an OEBPS 1.2 context; Use \"text/x-oeb1-document\" instead.", "additionalLocations" : 0, "locations" : [ { "path" : "oebps12.opf", @@ -262,7 +262,7 @@ }, { "ID" : "OPF-039", "severity" : "WARNING", - "message" : "Media-type 'text/css' is not appropriate in an OEBPS 1.2 context. Use 'text/x-oeb1-css' instead.", + "message" : "Media-type \"text/css\" is not appropriate in an OEBPS 1.2 context. Use \"text/x-oeb1-css\" instead.", "additionalLocations" : 0, "locations" : [ { "path" : "oebps12.opf", 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 6a406fdbf..aea364086 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 453ebe90e..b6b4b1546 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 c5d4afc4b..691bc0d0a 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -26,7 +26,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.w3.org/2000/svg' was found.", + "message" : "Namespace uri \"http://www.w3.org/2000/svg\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/page005.svg", @@ -75,7 +75,7 @@ }, { "ID" : "HTM-048", "severity" : "ERROR", - "message" : "SVG Fixed-Layout Documents must have a 'viewBox' attribute (on the outermost 'svg' element).", + "message" : "SVG Fixed-Layout Documents must have a \"viewBox\" attribute (on the outermost \"svg\" element).", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/page005.svg", diff --git a/src/test/resources/com/adobe/epubcheck/test/package/corrupt_file_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/package/corrupt_file_expected_results.json index fce9a32dc..b50918646 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/corrupt_file_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/package/corrupt_file_expected_results.json @@ -43,7 +43,7 @@ "messages" : [ { "ID" : "PKG-008", "severity" : "FATAL", - "message" : "Unable to read file 'error in opening zip file'.", + "message" : "Unable to read file \"error in opening zip file\".", "additionalLocations" : 0, "locations" : [ { "path" : "corrupt_file.epub", diff --git a/src/test/resources/com/adobe/epubcheck/test/package/empty_dir_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/package/empty_dir_expected_results.json index 6894601d8..b6eb56d68 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/empty_dir_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/package/empty_dir_expected_results.json @@ -55,7 +55,7 @@ }, { "ID" : "RSC-001", "severity" : "ERROR", - "message" : "File 'META-INF/container.xml' could not be found.", + "message" : "File \"META-INF/container.xml\" could not be found.", "additionalLocations" : 0, "locations" : [ { "path" : "empty_dir.epub", diff --git a/src/test/resources/com/adobe/epubcheck/test/package/empty_mimetype_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/package/empty_mimetype_expected_results.json index 57ebb83a4..8dba777c5 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/empty_mimetype_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/package/empty_mimetype_expected_results.json @@ -55,7 +55,7 @@ }, { "ID" : "RSC-001", "severity" : "ERROR", - "message" : "File 'META-INF/container.xml' could not be found.", + "message" : "File \"META-INF/container.xml\" could not be found.", "additionalLocations" : 0, "locations" : [ { "path" : "empty_mimetype.epub", 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 64ebd6c81..8dc6348aa 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -26,7 +26,7 @@ }, { "ID" : "PKG-022", "severity" : "WARNING", - "message" : "Wrong file extension for image. The image is a 'gif' file but has the file extension 'png'.", + "message" : "Wrong file extension for image. The image is a \"gif\" file but has the file extension \"png\".", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/images/PlaceHolder.png", diff --git a/src/test/resources/com/adobe/epubcheck/test/package/interesting_paths_epub2_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/package/interesting_paths_epub2_expected_results.json index 7e43c2535..0c3daef79 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/interesting_paths_epub2_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/package/interesting_paths_epub2_expected_results.json @@ -175,7 +175,7 @@ "messages" : [ { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS Content/toc.ncx", 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 60cf2ee61..30c3a86b7 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS Content/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS Content/toc.ncx", @@ -26,7 +26,7 @@ }, { "ID" : "PKG-009", "severity" : "ERROR", - "message" : "File name contains characters that are not allowed in OCF file names: '\"{\",\"}\"'.", + "message" : "File name contains characters that are not allowed in OCF file names: \"\"{\",\"}\"\".", "additionalLocations" : 0, "locations" : [ { "path" : "OPS Content/page{03}.xhtml", @@ -92,7 +92,7 @@ }, { "ID" : "RSC-001", "severity" : "ERROR", - "message" : "File 'OPS Content/style.' could not be found.", + "message" : "File \"OPS Content/style.\" could not be found.", "additionalLocations" : 0, "locations" : [ { "path" : "interesting_paths_epub3.epub", @@ -104,7 +104,7 @@ }, { "ID" : "RSC-007", "severity" : "ERROR", - "message" : "Referenced resource '../XHTML Content/page 02.xhtml' could not be found in the EPUB.", + "message" : "Referenced resource \"../XHTML Content/page 02.xhtml\" could not be found in the EPUB.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS Content/Cyrillic_\u0424.xhtml", @@ -116,7 +116,7 @@ }, { "ID" : "RSC-007", "severity" : "ERROR", - "message" : "Referenced resource 'style.' could not be found in the EPUB.", + "message" : "Referenced resource \"style.\" could not be found in the EPUB.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS Content/Cyrillic_\u0424.xhtml", diff --git a/src/test/resources/com/adobe/epubcheck/test/package/missing_container_file_epub2_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/package/missing_container_file_epub2_expected_results.json index f3a6584e6..57cfe5e12 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/missing_container_file_epub2_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/package/missing_container_file_epub2_expected_results.json @@ -43,7 +43,7 @@ "messages" : [ { "ID" : "RSC-001", "severity" : "ERROR", - "message" : "File 'META-INF/container.xml' could not be found.", + "message" : "File \"META-INF/container.xml\" could not be found.", "additionalLocations" : 0, "locations" : [ { "path" : "missing_container_file_epub2.epub", diff --git a/src/test/resources/com/adobe/epubcheck/test/package/missing_container_file_epub3_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/package/missing_container_file_epub3_expected_results.json index 81427cd1f..b9eb14c1c 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/missing_container_file_epub3_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/package/missing_container_file_epub3_expected_results.json @@ -43,7 +43,7 @@ "messages" : [ { "ID" : "RSC-001", "severity" : "ERROR", - "message" : "File 'META-INF/container.xml' could not be found.", + "message" : "File \"META-INF/container.xml\" could not be found.", "additionalLocations" : 0, "locations" : [ { "path" : "missing_container_file_epub3.epub", diff --git a/src/test/resources/com/adobe/epubcheck/test/package/missing_mimetype_file_epub2_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/package/missing_mimetype_file_epub2_expected_results.json index cbc741187..c9f614175 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/missing_mimetype_file_epub2_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/package/missing_mimetype_file_epub2_expected_results.json @@ -1,4 +1,4 @@ -{ + { "customMessageFileName" : null, "checker" : { "path" : "./com/adobe/epubcheck/test/package/missing_mimetype_file_epub2.epub", @@ -131,7 +131,7 @@ "messages" : [ { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 62168d9de..f8b4a93f8 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", diff --git a/src/test/resources/com/adobe/epubcheck/test/package/missing_ncx_file_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/package/missing_ncx_file_expected_results.json index cf9eaca73..15f39a1ce 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/missing_ncx_file_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/package/missing_ncx_file_expected_results.json @@ -153,7 +153,7 @@ "messages" : [ { "ID" : "RSC-001", "severity" : "ERROR", - "message" : "File 'OPS/toc.ncx' could not be found.", + "message" : "File \"OPS/toc.ncx\" could not be found.", "additionalLocations" : 0, "locations" : [ { "path" : "missing_ncx_file.epub", diff --git a/src/test/resources/com/adobe/epubcheck/test/package/missing_opf_epub_file_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/package/missing_opf_epub_file_expected_results.json index 306368a2b..26e0eec6f 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/missing_opf_epub_file_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/package/missing_opf_epub_file_expected_results.json @@ -43,7 +43,7 @@ "messages" : [ { "ID" : "PKG-020", "severity" : "ERROR", - "message" : "OPF file 'test_single_opf' could not be found.", + "message" : "OPF file \"test_single_opf\" could not be found.", "additionalLocations" : 0, "locations" : [ { "path" : "missing_opf_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 11bf42085..016b614d3 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 @@ -109,7 +109,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -121,7 +121,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -133,7 +133,7 @@ }, { "ID" : "OPF-002", "severity" : "FATAL", - "message" : "The OPF file 'OPS/missing.opf' was not found in the EPUB.", + "message" : "The OPF file \"OPS/missing.opf\" was not found in the EPUB.", "additionalLocations" : 0, "locations" : [ { "path" : "META-INF/container.xml", @@ -145,7 +145,7 @@ }, { "ID" : "RSC-001", "severity" : "ERROR", - "message" : "File 'OPS/missing.opf' could not be found.", + "message" : "File \"OPS/missing.opf\" could not be found.", "additionalLocations" : 0, "locations" : [ { "path" : "missing_opf_file.epub", 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 1b42adaba..7a38ed145 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -14,7 +14,7 @@ }, { "ID" : "RSC-001", "severity" : "ERROR", - "message" : "File 'OPS/toc.xhtml' could not be found.", + "message" : "File \"OPS/toc.xhtml\" could not be found.", "additionalLocations" : 0, "locations" : [ { "path" : "missing_toc_file.epub", 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 2ae8a1b67..9c36a98d3 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", diff --git a/src/test/resources/com/adobe/epubcheck/test/package/wrong_extension_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/package/wrong_extension_expected_results.json index e0b75f6d5..49c82a61c 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/wrong_extension_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/package/wrong_extension_expected_results.json @@ -161,6 +161,6 @@ "column" : -1, "context" : "zip" } ], - "suggestion" : "For maximum compatibility, use '.epub'." + "suggestion" : "For maximum compatibility, use \".epub\"." } ] } \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/package/wrong_extension_v3_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/package/wrong_extension_v3_expected_results.json index bbf7bcc9a..1dfb22905 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/wrong_extension_v3_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/package/wrong_extension_v3_expected_results.json @@ -161,6 +161,6 @@ "column" : -1, "context" : "zip" } ], - "suggestion" : "For maximum compatibility, use '.epub'." + "suggestion" : "For maximum compatibility, use \".epub\"." } ] } \ No newline at end of file diff --git a/src/test/resources/com/adobe/epubcheck/test/package/wrong_type_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/package/wrong_type_expected_results.json index 46eee6d3a..b9e2338d4 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/wrong_type_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/package/wrong_type_expected_results.json @@ -55,7 +55,7 @@ }, { "ID" : "PKG-008", "severity" : "FATAL", - "message" : "Unable to read file 'error in opening zip file'.", + "message" : "Unable to read file \"error in opening zip file\".", "additionalLocations" : 0, "locations" : [ { "path" : "PlaceHolder.epub", 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 dab20f0bf..a97eb7601 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -26,7 +26,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -50,7 +50,7 @@ }, { "ID" : "OPF-090", "severity" : "USAGE", - "message" : "It is encouraged to use MIME media type 'application/javascript' instead of 'text/javascript'. ", + "message" : "It is encouraged to use MIME media type \"application/javascript\" instead of \"text/javascript\". ", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", @@ -96,7 +96,7 @@ }, { "ID" : "SCP-007", "severity" : "USAGE", - "message" : "Script references 'innerHtml'.", + "message" : "Script references \"innerHtml\".", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/script_tag.xhtml", @@ -108,7 +108,7 @@ }, { "ID" : "SCP-008", "severity" : "USAGE", - "message" : "Script references 'innerText'.", + "message" : "Script references \"innerText\".", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/script_tag.xhtml", @@ -116,7 +116,7 @@ "column" : 84, "context" : "innerText = xmlHttp.responseText;" } ], - "suggestion" : "Use 'textContent' instead." + "suggestion" : "Use \"textContent\" instead." }, { "ID" : "SCP-009", "severity" : "USAGE", diff --git a/src/test/resources/com/adobe/epubcheck/test/scripts/epub2_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/scripts/epub2_expected_results.json index 92cbe7bde..7b941febb 100644 --- a/src/test/resources/com/adobe/epubcheck/test/scripts/epub2_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/scripts/epub2_expected_results.json @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", diff --git a/src/test/resources/com/adobe/epubcheck/test/scripts/epub2_expected_results.xmp b/src/test/resources/com/adobe/epubcheck/test/scripts/epub2_expected_results.xmp index 4ce96c33b..2fae7a001 100644 --- a/src/test/resources/com/adobe/epubcheck/test/scripts/epub2_expected_results.xmp +++ b/src/test/resources/com/adobe/epubcheck/test/scripts/epub2_expected_results.xmp @@ -44,7 +44,7 @@ - HTM-010, HINT, Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found. + HTM-010, HINT, Namespace uri "http://www.daisy.org/z3986/2005/ncx/" was found. 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 63c2f5bea..b3d5edcd1 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -51,7 +51,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -75,7 +75,7 @@ }, { "ID" : "OPF-090", "severity" : "USAGE", - "message" : "It is encouraged to use MIME media type 'application/javascript' instead of 'text/javascript'. ", + "message" : "It is encouraged to use MIME media type \"application/javascript\" instead of \"text/javascript\". ", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", 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 cfea81503..3d20d3b9d 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-002", "severity" : "USAGE", - "message" : "'input' HTML element is not referenced by a corresponding label element.", + "message" : "\"input\" HTML element is not referenced by a corresponding label element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/inline_script.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -26,7 +26,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -55,7 +55,7 @@ }, { "ID" : "HTM-029", "severity" : "USAGE", - "message" : "Label html elements should include a 'for' attribute referencing the id of an input element.", + "message" : "Label html elements should include a \"for\" attribute referencing the id of an input element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/inline_script.xhtml", @@ -67,7 +67,7 @@ }, { "ID" : "OPF-014", "severity" : "ERROR", - "message" : "The property 'scripted' should be declared in the OPF file.", + "message" : "The property \"scripted\" should be declared in the OPF file.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/external_script_not_marked.xhtml", @@ -89,7 +89,7 @@ }, { "ID" : "OPF-090", "severity" : "USAGE", - "message" : "It is encouraged to use MIME media type 'application/javascript' instead of 'text/javascript'. ", + "message" : "It is encouraged to use MIME media type \"application/javascript\" instead of \"text/javascript\". ", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", 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 15c112ce1..f29e5e76f 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -43,7 +43,7 @@ }, { "ID" : "OPF-090", "severity" : "USAGE", - "message" : "It is encouraged to use MIME media type 'application/javascript' instead of 'text/javascript'. ", + "message" : "It is encouraged to use MIME media type \"application/javascript\" instead of \"text/javascript\". ", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", @@ -129,7 +129,7 @@ }, { "ID" : "SCP-007", "severity" : "USAGE", - "message" : "Script references 'innerHtml'.", + "message" : "Script references \"innerHtml\".", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/sample.js", 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 998d5b126..4980e1c10 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -43,7 +43,7 @@ }, { "ID" : "OPF-090", "severity" : "USAGE", - "message" : "It is encouraged to use MIME media type 'application/javascript' instead of 'text/javascript'. ", + "message" : "It is encouraged to use MIME media type \"application/javascript\" instead of \"text/javascript\". ", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", 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 8d4f211d4..3d612581e 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 7e26f5e41..bbff8b82b 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 30979e09d..3751a19d7 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -26,7 +26,7 @@ }, { "ID" : "OPF-058", "severity" : "USAGE", - "message" : "Spine item 'page01' is not referenced from the TOC in the Nav Doc.", + "message" : "Spine item \"page01\" is not referenced from the TOC in the Nav Doc.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -38,7 +38,7 @@ }, { "ID" : "RSC-005", "severity" : "ERROR", - "message" : "Error while parsing file: Exactly one 'toc' nav element must be present", + "message" : "Error while parsing file: Exactly one \"toc\" nav element must be present", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", 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 ee621afad..e3b5c27d3 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 081de2a87..5dffa75a9 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-001", "severity" : "USAGE", - "message" : "'img' or 'area' HTML element has no 'alt' attribute.", + "message" : "\"img\" or \"area\" HTML element has no \"alt\" attribute.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/Navigation_ImageMap.xhtml", @@ -24,7 +24,7 @@ }, { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -80,7 +80,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 cb64d8394..0035de26d 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -38,7 +38,7 @@ }, { "ID" : "HTM-004", "severity" : "ERROR", - "message" : "Irregular DOCTYPE: found '-//W3C//DTD XHTML 1.1//EN', expected ''.", + "message" : "Irregular DOCTYPE: found \"-//W3C//DTD XHTML 1.1//EN\", expected \"\".", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/external_dtd.xhtml", @@ -50,7 +50,7 @@ }, { "ID" : "HTM-004", "severity" : "ERROR", - "message" : "Irregular DOCTYPE: found 'null', expected ''.", + "message" : "Irregular DOCTYPE: found \"null\", expected \"\".", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/internal_dtd.xhtml", @@ -67,7 +67,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -79,7 +79,7 @@ }, { "ID" : "HTM-014a", "severity" : "WARNING", - "message" : "XHTML Content Document file name 'OPS/internal_xhtml_dtd.xml' should have the extension '.xhtml'.", + "message" : "XHTML Content Document file name \"OPS/internal_xhtml_dtd.xml\" should have the extension \".xhtml\".", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", @@ -91,7 +91,7 @@ }, { "ID" : "RSC-001", "severity" : "ERROR", - "message" : "File 'sample.dtd' could not be found.", + "message" : "File \"sample.dtd\" could not be found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/internal_dtd.xhtml", @@ -103,7 +103,7 @@ }, { "ID" : "RSC-001", "severity" : "ERROR", - "message" : "File 'xhtml1-strict.dtd' could not be found.", + "message" : "File \"xhtml1-strict.dtd\" could not be found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/internal_xhtml_dtd.xml", 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 4f27036e0..763a1c057 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 6c35510a1..5fbd7894b 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", diff --git a/src/test/resources/com/adobe/epubcheck/test/xhtml/html5_epub2_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/xhtml/html5_epub2_expected_results.json index b79e410a2..e7a9c4a3f 100644 --- a/src/test/resources/com/adobe/epubcheck/test/xhtml/html5_epub2_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/xhtml/html5_epub2_expected_results.json @@ -175,7 +175,7 @@ "messages" : [ { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", 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 16a3894b0..e6c9579f2 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -26,7 +26,7 @@ }, { "ID" : "HTM-020", "severity" : "USAGE", - "message" : "Content file doesn't contain xml:lang attribute.", + "message" : "Content file doesn’t contain xml:lang attribute.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/xml_version.xhtml", @@ -38,7 +38,7 @@ }, { "ID" : "HTM-021", "severity" : "USAGE", - "message" : "Content file doesn't contain lang attribute.", + "message" : "Content file doesn’t contain lang attribute.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/xml_version.xhtml", 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 488b12a9e..abdb078c4 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -180,7 +180,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -192,7 +192,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.w3.org/1998/Math/MathML' was found.", + "message" : "Namespace uri \"http://www.w3.org/1998/Math/MathML\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/mathMl.xhtml", @@ -204,7 +204,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.w3.org/1999/xlink' was found.", + "message" : "Namespace uri \"http://www.w3.org/1999/xlink\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/svg_links.xhtml", @@ -228,7 +228,7 @@ }, { "ID" : "RSC-007", "severity" : "ERROR", - "message" : "Referenced resource 'OPS/' could not be found in the EPUB.", + "message" : "Referenced resource \"OPS/\" could not be found in the EPUB.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/links.xhtml", @@ -305,7 +305,7 @@ }, { "ID" : "RSC-018", "severity" : "WARNING", - "message" : "Alternative image file 'images/missing.png' could not be found.", + "message" : "Alternative image file \"images/missing.png\" could not be found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/mathMl.xhtml", 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 9d3fa0156..fa2ba3e7c 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -62,7 +62,7 @@ }, { "ID" : "HTM-020", "severity" : "USAGE", - "message" : "Content file doesn't contain xml:lang attribute.", + "message" : "Content file doesn’t contain xml:lang attribute.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/no_lang.xhtml", @@ -74,7 +74,7 @@ }, { "ID" : "HTM-021", "severity" : "USAGE", - "message" : "Content file doesn't contain lang attribute.", + "message" : "Content file doesn’t contain lang attribute.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/no_lang.xhtml", diff --git a/src/test/resources/com/adobe/epubcheck/test/xhtml/lorem_noxmlns_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/xhtml/lorem_noxmlns_expected_results.json index a593b5e4d..a7db6da44 100644 --- a/src/test/resources/com/adobe/epubcheck/test/xhtml/lorem_noxmlns_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/xhtml/lorem_noxmlns_expected_results.json @@ -192,7 +192,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "EPUB/lorem.ncx", @@ -209,7 +209,7 @@ }, { "ID" : "HTM-021", "severity" : "USAGE", - "message" : "Content file doesn't contain lang attribute.", + "message" : "Content file doesn’t contain lang attribute.", "additionalLocations" : 0, "locations" : [ { "path" : "EPUB/lorem.xhtml", @@ -221,7 +221,7 @@ }, { "ID" : "HTM-049", "severity" : "ERROR", - "message" : "Html element does not have an xmlns set to 'http://www.w3.org/1999/xhtml'.", + "message" : "Html element does not have an xmlns set to \"http://www.w3.org/1999/xhtml\".", "additionalLocations" : 0, "locations" : [ { "path" : "EPUB/lorem.xhtml", 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 a2aa79d5e..5d6ea080c 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "EPUB/nav.xhtml", @@ -31,7 +31,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "EPUB/lorem.ncx", @@ -48,7 +48,7 @@ }, { "ID" : "HTM-021", "severity" : "USAGE", - "message" : "Content file doesn't contain lang attribute.", + "message" : "Content file doesn’t contain lang attribute.", "additionalLocations" : 0, "locations" : [ { "path" : "EPUB/lorem.xhtml", 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 a660cb87f..fd42d8420 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 @@ -197,7 +197,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "EPUB/nav.xhtml", @@ -226,7 +226,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "EPUB/lorem.ncx", @@ -243,7 +243,7 @@ }, { "ID" : "HTM-021", "severity" : "USAGE", - "message" : "Content file doesn't contain lang attribute.", + "message" : "Content file doesn’t contain lang attribute.", "additionalLocations" : 0, "locations" : [ { "path" : "EPUB/lorem.xhtml", 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 817f9b4ee..0bac2d236 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "EPUB/nav.xhtml", @@ -31,7 +31,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "EPUB/lorem.ncx", @@ -48,7 +48,7 @@ }, { "ID" : "HTM-021", "severity" : "USAGE", - "message" : "Content file doesn't contain lang attribute.", + "message" : "Content file doesn’t contain lang attribute.", "additionalLocations" : 0, "locations" : [ { "path" : "EPUB/lorem.xhtml", @@ -84,7 +84,7 @@ }, { "ID" : "OPF-003", "severity" : "WARNING", - "message" : "Item 'EPUB/page-map.xml' exists in the EPUB, but is not declared in the OPF manifest.", + "message" : "Item \"EPUB/page-map.xml\" exists in the EPUB, but is not declared in the OPF manifest.", "additionalLocations" : 0, "locations" : [ { "path" : "lorem_pagemaps3.epub", @@ -108,7 +108,7 @@ }, { "ID" : "OPF-063", "severity" : "WARNING", - "message" : "Referenced Adobe page-map item 'map' was not found in the manifest.", + "message" : "Referenced Adobe page-map item \"map\" was not found in the manifest.", "additionalLocations" : 0, "locations" : [ { "path" : "EPUB/lorem.opf", 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 5c4e37ddd..cddc40735 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -294,7 +294,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -318,7 +318,7 @@ }, { "ID" : "OPF-090", "severity" : "USAGE", - "message" : "It is encouraged to use MIME media type 'font/otf' instead of 'application/vnd.ms-opentype'. ", + "message" : "It is encouraged to use MIME media type \"font/otf\" instead of \"application/vnd.ms-opentype\". ", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", 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 d5c096a99..f43d9d72b 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 @@ -1,8 +1,8 @@ -{ + { "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -14,7 +14,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://unused.namespace.com/unused' was found.", + "message" : "Namespace uri \"http://unused.namespace.com/unused\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/html5.xhtml", @@ -26,7 +26,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", @@ -38,7 +38,7 @@ }, { "ID" : "HTM-044", "severity" : "USAGE", - "message" : "Namespace uri 'http://unused.namespace.com/unused' was included but not used.", + "message" : "Namespace uri \"http://unused.namespace.com/unused\" was included but not used.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/html5.xhtml", @@ -50,7 +50,7 @@ }, { "ID" : "OPF-030", "severity" : "ERROR", - "message" : "The unique-identifier 'BOGUS' was not found.", + "message" : "The unique-identifier \"BOGUS\" was not found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", @@ -62,7 +62,7 @@ }, { "ID" : "RSC-005", "severity" : "ERROR", - "message" : "Error while parsing file: package element unique-identifier attribute does not resolve to a dc:identifier element (given reference was 'BOGUS')", + "message" : "Error while parsing file: package element unique-identifier attribute does not resolve to a dc:identifier element (given reference was \"BOGUS\")", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/content.opf", @@ -74,7 +74,7 @@ }, { "ID" : "RSC-007", "severity" : "ERROR", - "message" : "Referenced resource 'OPS/echild_s01_all.m4a' could not be found in the EPUB.", + "message" : "Referenced resource \"OPS/echild_s01_all.m4a\" could not be found in the EPUB.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/html5.xhtml", 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 a47bd5f42..86c899be5 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 @@ -2,7 +2,7 @@ "messages" : [ { "ID" : "ACC-008", "severity" : "USAGE", - "message" : "Navigation Document has no 'landmarks nav' element.", + "message" : "Navigation Document has no \"landmarks nav\" element.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.xhtml", @@ -51,7 +51,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OPS/toc.ncx", diff --git a/src/test/resources/com/adobe/epubcheck/test/xhtml/singleline_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/xhtml/singleline_expected_results.json index c34ee6165..3f8f2f677 100644 --- a/src/test/resources/com/adobe/epubcheck/test/xhtml/singleline_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/xhtml/singleline_expected_results.json @@ -207,7 +207,7 @@ }, { "ID" : "HTM-010", "severity" : "USAGE", - "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.", + "message" : "Namespace uri \"http://www.daisy.org/z3986/2005/ncx/\" was found.", "additionalLocations" : 0, "locations" : [ { "path" : "OEBPS/moby.ncx", @@ -219,7 +219,7 @@ }, { "ID" : "HTM-044", "severity" : "USAGE", - "message" : "Namespace uri '' was included but not used.", + "message" : "Namespace uri \"\" was included but not used.", "additionalLocations" : 0, "locations" : [ { "path" : "OEBPS/content.opf",