{
  "customMessageFileName" : null,
  "checker" : {
    "path" : "./com/adobe/epubcheck/test/scripts/eval.epub",
    "filename" : "eval.epub",
    "checkerVersion" : "4.0.0-alpha11-SNAPSHOT",
    "checkDate" : "09-05-2014 03:16:20",
    "elapsedTime" : 100,
    "nFatal" : 0,
    "nError" : 0,
    "nWarning" : 0,
    "nUsage" : 11
  },
  "publication" : {
    "publisher" : null,
    "title" : "Eval Sample Book",
    "creator" : [ ],
    "date" : "2012-10-10T12:00:00Z",
    "subject" : [ ],
    "description" : null,
    "rights" : null,
    "identifier" : "000000000000000000",
    "language" : "en",
    "nSpines" : 3,
    "checkSum" : 0,
    "renditionLayout" : "reflowable",
    "renditionOrientation" : "auto",
    "renditionSpread" : "auto",
    "ePubVersion" : "3.0.1",
    "isScripted" : true,
    "hasFixedFormat" : false,
    "isBackwardCompatible" : false,
    "hasAudio" : false,
    "hasVideo" : false,
    "charsCount" : 518,
    "embeddedFonts" : [ ],
    "refFonts" : [ ],
    "hasEncryption" : false,
    "hasSignatures" : false,
    "contributors" : [ ]
  },
  "items" : [ {
    "id" : "ePubCheck.NoManifestRef:META-INF/container.xml",
    "fileName" : "META-INF/container.xml",
    "media_type" : null,
    "compressedSize" : 172,
    "uncompressedSize" : 254,
    "compressionMethod" : "Deflated",
    "checkSum" : "61c34690751e24ea0ac4a46f02063b015d4442763ccdfb5474b928e5b662b2",
    "isSpineItem" : false,
    "spineIndex" : null,
    "isLinear" : false,
    "navigationOrder" : null,
    "isHTML5" : false,
    "isFixedFormat" : null,
    "isScripted" : false,
    "scriptSrc" : false,
    "scriptTag" : false,
    "scriptInline" : false,
    "renditionLayout" : null,
    "renditionOrientation" : null,
    "renditionSpread" : null,
    "referencedItems" : [ ]
  }, {
    "id" : "ePubCheck.NoManifestRef:OPS/content.opf",
    "fileName" : "OPS/content.opf",
    "media_type" : null,
    "compressedSize" : 431,
    "uncompressedSize" : 1116,
    "compressionMethod" : "Deflated",
    "checkSum" : "f51cf1d483b7292e646a3d7820eb6db2491a8ffbe4b6e713a73a67d0b8a5d33c",
    "isSpineItem" : false,
    "spineIndex" : null,
    "isLinear" : false,
    "navigationOrder" : null,
    "isHTML5" : false,
    "isFixedFormat" : null,
    "isScripted" : false,
    "scriptSrc" : false,
    "scriptTag" : false,
    "scriptInline" : false,
    "renditionLayout" : null,
    "renditionOrientation" : null,
    "renditionSpread" : null,
    "referencedItems" : [ ]
  }, {
    "id" : "ePubCheck.NoManifestRef:mimetype",
    "fileName" : "mimetype",
    "media_type" : null,
    "compressedSize" : 20,
    "uncompressedSize" : 20,
    "compressionMethod" : "Stored",
    "checkSum" : "e468e350d1143eb648f6c7bbd63111ec544a361ca74ecef256ac91f48b",
    "isSpineItem" : false,
    "spineIndex" : null,
    "isLinear" : false,
    "navigationOrder" : null,
    "isHTML5" : false,
    "isFixedFormat" : null,
    "isScripted" : false,
    "scriptSrc" : false,
    "scriptTag" : false,
    "scriptInline" : false,
    "renditionLayout" : null,
    "renditionOrientation" : null,
    "renditionSpread" : null,
    "referencedItems" : [ ]
  }, {
    "id" : "ncx",
    "fileName" : "OPS/toc.ncx",
    "media_type" : "application/x-dtbncx+xml",
    "compressedSize" : 303,
    "uncompressedSize" : 575,
    "compressionMethod" : "Deflated",
    "checkSum" : "d22b4cd5479c4e6b2389af1ce3db19314982cda4d81a6f5ec2faf1499bea33",
    "isSpineItem" : false,
    "spineIndex" : null,
    "isLinear" : false,
    "navigationOrder" : null,
    "isHTML5" : false,
    "isFixedFormat" : null,
    "isScripted" : false,
    "scriptSrc" : false,
    "scriptTag" : false,
    "scriptInline" : false,
    "renditionLayout" : null,
    "renditionOrientation" : null,
    "renditionSpread" : null,
    "referencedItems" : [ "OPS/external_script.xhtml" ]
  }, {
    "id" : "page01",
    "fileName" : "OPS/inline_script.xhtml",
    "media_type" : "application/xhtml+xml",
    "compressedSize" : 229,
    "uncompressedSize" : 299,
    "compressionMethod" : "Deflated",
    "checkSum" : "29ae421026c4888a97c78583fd90e55921dfe6efa964397a2558f8d6948d460",
    "isSpineItem" : true,
    "spineIndex" : 0,
    "isLinear" : true,
    "navigationOrder" : 2,
    "isHTML5" : false,
    "isFixedFormat" : false,
    "isScripted" : false,
    "scriptSrc" : false,
    "scriptTag" : false,
    "scriptInline" : true,
    "renditionLayout" : "reflowable",
    "renditionOrientation" : "auto",
    "renditionSpread" : "auto",
    "referencedItems" : [ ]
  }, {
    "id" : "page02",
    "fileName" : "OPS/external_script.xhtml",
    "media_type" : "application/xhtml+xml",
    "compressedSize" : 227,
    "uncompressedSize" : 357,
    "compressionMethod" : "Deflated",
    "checkSum" : "2d2446772d95e9e58fc5d31029d947dd751c4d7df4063249ee366bec46a4",
    "isSpineItem" : true,
    "spineIndex" : 1,
    "isLinear" : true,
    "navigationOrder" : 1,
    "isHTML5" : false,
    "isFixedFormat" : false,
    "isScripted" : true,
    "scriptSrc" : true,
    "scriptTag" : true,
    "scriptInline" : false,
    "renditionLayout" : "reflowable",
    "renditionOrientation" : "auto",
    "renditionSpread" : "auto",
    "referencedItems" : [ "OPS/sample.js" ]
  }, {
    "id" : "page03",
    "fileName" : "OPS/script_tag.xhtml",
    "media_type" : "application/xhtml+xml",
    "compressedSize" : 240,
    "uncompressedSize" : 420,
    "compressionMethod" : "Deflated",
    "checkSum" : "27663acec8d6ab29733444be2292e647bb0c7ee3a3cd933f803166c97f511",
    "isSpineItem" : true,
    "spineIndex" : 2,
    "isLinear" : true,
    "navigationOrder" : null,
    "isHTML5" : false,
    "isFixedFormat" : false,
    "isScripted" : true,
    "scriptSrc" : false,
    "scriptTag" : true,
    "scriptInline" : false,
    "renditionLayout" : "reflowable",
    "renditionOrientation" : "auto",
    "renditionSpread" : "auto",
    "referencedItems" : [ ]
  }, {
    "id" : "sample_script",
    "fileName" : "OPS/sample.js",
    "media_type" : "text/javascript",
    "compressedSize" : 97,
    "uncompressedSize" : 133,
    "compressionMethod" : "Deflated",
    "checkSum" : "ae2a707a434d706c20c69ec6487fdca9fb4e39c099f685d3d1aeb72c97cd16",
    "isSpineItem" : false,
    "spineIndex" : null,
    "isLinear" : false,
    "navigationOrder" : null,
    "isHTML5" : false,
    "isFixedFormat" : null,
    "isScripted" : true,
    "scriptSrc" : true,
    "scriptTag" : false,
    "scriptInline" : false,
    "renditionLayout" : null,
    "renditionOrientation" : null,
    "renditionSpread" : null,
    "referencedItems" : [ ]
  }, {
    "id" : "toc",
    "fileName" : "OPS/toc.xhtml",
    "media_type" : "application/xhtml+xml",
    "compressedSize" : 252,
    "uncompressedSize" : 422,
    "compressionMethod" : "Deflated",
    "checkSum" : "f7f393288393b534e897f6e0fd91111774fee263ff5e795916c10cc4de4bc5d",
    "isSpineItem" : false,
    "spineIndex" : null,
    "isLinear" : false,
    "navigationOrder" : null,
    "isHTML5" : true,
    "isFixedFormat" : null,
    "isScripted" : false,
    "scriptSrc" : false,
    "scriptTag" : false,
    "scriptInline" : false,
    "renditionLayout" : null,
    "renditionOrientation" : null,
    "renditionSpread" : null,
    "referencedItems" : [ "OPS/external_script.xhtml", "OPS/inline_script.xhtml" ]
  } ],
  "messages" : [ {
    "ID" : "ACC-007",
    "severity" : "USAGE",
    "message" : "Content Documents do not use 'epub:type' attributes for semantic inflection.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/external_script.xhtml",
      "line" : -1,
      "column" : -1,
      "context" : null
    }, {
      "path" : "OPS/inline_script.xhtml",
      "line" : -1,
      "column" : -1,
      "context" : null
    }, {
      "path" : "OPS/script_tag.xhtml",
      "line" : -1,
      "column" : -1,
      "context" : null
    } ],
    "suggestion" : null
  }, {
    "ID" : "ACC-008",
    "severity" : "USAGE",
    "message" : "Navigation Document has no 'landmarks nav' element.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "eval.epub",
      "line" : -1,
      "column" : -1,
      "context" : null
    } ],
    "suggestion" : null
  }, {
    "ID" : "HTM-006",
    "severity" : "USAGE",
    "message" : "An XHTML Named Entity was found.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/inline_script.xhtml",
      "line" : 7,
      "column" : 81,
      "context" : "tHTML('beforeend', '&lt;br/&gt;' + eval("
    }, {
      "path" : "OPS/inline_script.xhtml",
      "line" : 7,
      "column" : 88,
      "context" : "beforeend', '&lt;br/&gt;' + eval('2+2'))"
    }, {
      "path" : "OPS/script_tag.xhtml",
      "line" : 11,
      "column" : 51,
      "context" : "tHTML(\"beforeend\", \"&lt;br/&gt;\" + eval("
    }, {
      "path" : "OPS/script_tag.xhtml",
      "line" : 11,
      "column" : 58,
      "context" : "beforeend\", \"&lt;br/&gt;\" + eval(\"2+2\"))"
    }, {
      "path" : "OPS/script_tag.xhtml",
      "line" : 12,
      "column" : 51,
      "context" : "tHTML(\"beforeend\", \"&lt;br/&gt;\" + eval("
    }, {
      "path" : "OPS/script_tag.xhtml",
      "line" : 12,
      "column" : 58,
      "context" : "beforeend\", \"&lt;br/&gt;\" + eval(x + 17)"
    } ],
    "suggestion" : null
  }, {
    "ID" : "HTM-010",
    "severity" : "USAGE",
    "message" : "Namespace uri 'http://www.daisy.org/z3986/2005/ncx/' was found.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/toc.ncx",
      "line" : 2,
      "column" : 68,
      "context" : ""
    } ],
    "suggestion" : null
  }, {
    "ID" : "HTM-028",
    "severity" : "USAGE",
    "message" : "Input html elements should include an id.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/inline_script.xhtml",
      "line" : 8,
      "column" : 22,
      "context" : null
    } ],
    "suggestion" : null
  }, {
    "ID" : "OPF-058",
    "severity" : "USAGE",
    "message" : "Spine item has no TOC entry reference.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/toc.xhtml",
      "line" : -1,
      "column" : -1,
      "context" : "OPS/script_tag.xhtml"
    } ],
    "suggestion" : "Every spine item in the manifest should be referenced by at least one TOC entry."
  }, {
    "ID" : "OPF-059",
    "severity" : "USAGE",
    "message" : "Spine item has no NCX entry reference.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/toc.ncx",
      "line" : -1,
      "column" : -1,
      "context" : "OPS/inline_script.xhtml"
    }, {
      "path" : "OPS/toc.ncx",
      "line" : -1,
      "column" : -1,
      "context" : "OPS/script_tag.xhtml"
    } ],
    "suggestion" : "Every spine item in the manifest should be referenced by at least one NCX entry."
  }, {
    "ID" : "SCP-001",
    "severity" : "USAGE",
    "message" : "Use of Javascript eval() function in EPUB scripts is a security risk.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/inline_script.xhtml",
      "line" : 8,
      "column" : 22,
      "context" : "eval('2+2'));"
    }, {
      "path" : "OPS/sample.js",
      "line" : 4,
      "column" : 10,
      "context" : "eval (str);"
    }, {
      "path" : "OPS/script_tag.xhtml",
      "line" : 11,
      "column" : 52,
      "context" : "eval(\"x=10;y=20;document.body.insertAdjacentHTML('beforeend'"
    }, {
      "path" : "OPS/script_tag.xhtml",
      "line" : 12,
      "column" : 52,
      "context" : "eval(\"2+2\"));"
    }, {
      "path" : "OPS/script_tag.xhtml",
      "line" : 14,
      "column" : 1,
      "context" : "eval(x + 17));"
    } ],
    "suggestion" : null
  }, {
    "ID" : "SCP-006",
    "severity" : "USAGE",
    "message" : "Inline scripts found.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/inline_script.xhtml",
      "line" : 8,
      "column" : 22,
      "context" : "onmouseover"
    } ],
    "suggestion" : null
  }, {
    "ID" : "SCP-009",
    "severity" : "USAGE",
    "message" : "Content file uses mouse event handlers.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/inline_script.xhtml",
      "line" : 8,
      "column" : 22,
      "context" : "onmouseover"
    } ],
    "suggestion" : "Ensure that all mouse driven functionality is accessible from the keyboard and touch devices."
  }, {
    "ID" : "SCP-010",
    "severity" : "USAGE",
    "message" : "Epub 3 content file contains script.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/external_script.xhtml",
      "line" : -1,
      "column" : -1,
      "context" : null
    }, {
      "path" : "OPS/inline_script.xhtml",
      "line" : -1,
      "column" : -1,
      "context" : null
    }, {
      "path" : "OPS/sample.js",
      "line" : -1,
      "column" : -1,
      "context" : null
    }, {
      "path" : "OPS/script_tag.xhtml",
      "line" : -1,
      "column" : -1,
      "context" : null
    } ],
    "suggestion" : null
  } ]
}
