{
  "customMessageFileName" : null,
  "checker" : {
    "path" : "./com/adobe/epubcheck/test/scripts/epub2.epub",
    "filename" : "epub2.epub",
    "checkerVersion" : "4.0.0-alpha11-SNAPSHOT",
    "checkDate" : "09-05-2014 03:16:20",
    "elapsedTime" : 27,
    "nFatal" : 0,
    "nError" : 2,
    "nWarning" : 0,
    "nUsage" : 4
  },
  "publication" : {
    "publisher" : null,
    "title" : "Script in epub 2 Sample Book",
    "creator" : [ ],
    "date" : null,
    "subject" : [ ],
    "description" : null,
    "rights" : null,
    "identifier" : "000000000000000000",
    "language" : "en",
    "nSpines" : 3,
    "checkSum" : 0,
    "renditionLayout" : "reflowable",
    "renditionOrientation" : "auto",
    "renditionSpread" : "auto",
    "ePubVersion" : "2.0.1",
    "isScripted" : true,
    "hasFixedFormat" : false,
    "isBackwardCompatible" : false,
    "hasAudio" : false,
    "hasVideo" : false,
    "charsCount" : 731,
    "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" : 364,
    "uncompressedSize" : 906,
    "compressionMethod" : "Deflated",
    "checkSum" : "52fd26d1b217e5f51b927617d84165939cc39c2c94b4113cd3b0438acb6b909d",
    "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" : 306,
    "uncompressedSize" : 589,
    "compressionMethod" : "Deflated",
    "checkSum" : "4823498fca909a458c3a8c307e6168ac9339a2ecc2bcd2184a4f4f3459927d6",
    "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/inline_script.xhtml" ]
  }, {
    "id" : "page01",
    "fileName" : "OPS/inline_script.xhtml",
    "media_type" : "application/xhtml+xml",
    "compressedSize" : 185,
    "uncompressedSize" : 265,
    "compressionMethod" : "Deflated",
    "checkSum" : "640471bdf78992511a3231574bcc8a16de9b6d6aee69f8657ecf6c33dbc2",
    "isSpineItem" : true,
    "spineIndex" : 0,
    "isLinear" : true,
    "navigationOrder" : 1,
    "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" : 220,
    "uncompressedSize" : 347,
    "compressionMethod" : "Deflated",
    "checkSum" : "ba4cdacd27ce26f31e5d9ed89ae6d668446c1dd792a60683eb4cdf746b9e73f",
    "isSpineItem" : true,
    "spineIndex" : 1,
    "isLinear" : true,
    "navigationOrder" : null,
    "isHTML5" : false,
    "isFixedFormat" : false,
    "isScripted" : true,
    "scriptSrc" : true,
    "scriptTag" : true,
    "scriptInline" : false,
    "renditionLayout" : "reflowable",
    "renditionOrientation" : "auto",
    "renditionSpread" : "auto",
    "referencedItems" : [ ]
  }, {
    "id" : "page03",
    "fileName" : "OPS/script_tag.xhtml",
    "media_type" : "application/xhtml+xml",
    "compressedSize" : 341,
    "uncompressedSize" : 741,
    "compressionMethod" : "Deflated",
    "checkSum" : "be8ed3cf77925066e232b325c8c826341bb826725b3435d41f9903451526b53",
    "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" : 63,
    "uncompressedSize" : 69,
    "compressionMethod" : "Deflated",
    "checkSum" : "e78b19f0e0ddad974183e9d7355ecfc247d7d13c565c475747516a177f7fb6",
    "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" : [ ]
  } ],
  "messages" : [ {
    "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" : "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/external_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" : "RSC-005",
    "severity" : "ERROR",
    "message" : "Error while parsing file 'attribute \"onmousedown\" not allowed here; expected attribute \"class\", \"dir\", \"id\", \"lang\", \"style\", \"title\" or \"xml:lang\"'.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/inline_script.xhtml",
      "line" : 10,
      "column" : 39,
      "context" : null
    } ],
    "suggestion" : null
  }, {
    "ID" : "SCP-004",
    "severity" : "ERROR",
    "message" : "Content file contains script which is not supported in EPUB v2.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/external_script.xhtml",
      "line" : 5,
      "column" : 52,
      "context" : "script"
    }, {
      "path" : "OPS/inline_script.xhtml",
      "line" : 10,
      "column" : 39,
      "context" : "onmousedown"
    }, {
      "path" : "OPS/sample.js",
      "line" : -1,
      "column" : -1,
      "context" : null
    }, {
      "path" : "OPS/script_tag.xhtml",
      "line" : 5,
      "column" : 36,
      "context" : "script"
    } ],
    "suggestion" : null
  }, {
    "ID" : "SCP-006",
    "severity" : "USAGE",
    "message" : "Inline scripts found.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/inline_script.xhtml",
      "line" : 10,
      "column" : 39,
      "context" : "onmousedown"
    } ],
    "suggestion" : null
  }, {
    "ID" : "SCP-009",
    "severity" : "USAGE",
    "message" : "Content file uses mouse event handlers.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/inline_script.xhtml",
      "line" : 10,
      "column" : 39,
      "context" : "onmousedown"
    } ],
    "suggestion" : "Ensure that all mouse driven functionality is accessible from the keyboard and touch devices."
  } ]
}
