{
  "customMessageFileName" : null,
  "checker" : {
    "path" : "./com/adobe/epubcheck/test/xhtml/lang.epub",
    "filename" : "lang.epub",
    "checkerVersion" : "4.0.0-alpha11-SNAPSHOT",
    "checkDate" : "09-05-2014 03:16:28",
    "elapsedTime" : 82,
    "nFatal" : 0,
    "nError" : 2,
    "nWarning" : 0,
    "nUsage" : 9
  },
  "publication" : {
    "publisher" : null,
    "title" : "Lang 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" : false,
    "hasFixedFormat" : false,
    "isBackwardCompatible" : true,
    "hasAudio" : false,
    "hasVideo" : false,
    "charsCount" : 442,
    "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" : 395,
    "uncompressedSize" : 969,
    "compressionMethod" : "Deflated",
    "checkSum" : "2c29f1dc164ba0a15484c4d92c283d21eda42c3dce9ad1c50653553ee87634",
    "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" : 296,
    "uncompressedSize" : 554,
    "compressionMethod" : "Deflated",
    "checkSum" : "97878853ff3fb6a1196bd53c916e319cc81d7a2c41ca886c87d9bc72a8d3",
    "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/no_lang.xhtml" ]
  }, {
    "id" : "page01",
    "fileName" : "OPS/no_lang.xhtml",
    "media_type" : "application/xhtml+xml",
    "compressedSize" : 173,
    "uncompressedSize" : 285,
    "compressionMethod" : "Deflated",
    "checkSum" : "8136c6fca182b7f6bdbdeb24d1e918f8a90674115e3d0c56ace485181d2f74",
    "isSpineItem" : true,
    "spineIndex" : 0,
    "isLinear" : true,
    "navigationOrder" : 1,
    "isHTML5" : false,
    "isFixedFormat" : false,
    "isScripted" : false,
    "scriptSrc" : false,
    "scriptTag" : false,
    "scriptInline" : false,
    "renditionLayout" : "reflowable",
    "renditionOrientation" : "auto",
    "renditionSpread" : "auto",
    "referencedItems" : [ ]
  }, {
    "id" : "page02",
    "fileName" : "OPS/invalid_lang.xhtml",
    "media_type" : "application/xhtml+xml",
    "compressedSize" : 183,
    "uncompressedSize" : 302,
    "compressionMethod" : "Deflated",
    "checkSum" : "19867ca2274ed26b3116f439b4fe509cfccbada2d348de2b1bc7e935886d2a34",
    "isSpineItem" : true,
    "spineIndex" : 1,
    "isLinear" : true,
    "navigationOrder" : null,
    "isHTML5" : false,
    "isFixedFormat" : false,
    "isScripted" : false,
    "scriptSrc" : false,
    "scriptTag" : false,
    "scriptInline" : false,
    "renditionLayout" : "reflowable",
    "renditionOrientation" : "auto",
    "renditionSpread" : "auto",
    "referencedItems" : [ ]
  }, {
    "id" : "page03",
    "fileName" : "OPS/mismatched_lang.xhtml",
    "media_type" : "application/xhtml+xml",
    "compressedSize" : 176,
    "uncompressedSize" : 274,
    "compressionMethod" : "Deflated",
    "checkSum" : "43ef3f9fa28fb59d78680e57ee0d2a810e3d9e7f536686cd68c1395c838d781",
    "isSpineItem" : true,
    "spineIndex" : 2,
    "isLinear" : true,
    "navigationOrder" : null,
    "isHTML5" : false,
    "isFixedFormat" : false,
    "isScripted" : false,
    "scriptSrc" : false,
    "scriptTag" : false,
    "scriptInline" : false,
    "renditionLayout" : "reflowable",
    "renditionOrientation" : "auto",
    "renditionSpread" : "auto",
    "referencedItems" : [ ]
  }, {
    "id" : "toc",
    "fileName" : "OPS/toc.xhtml",
    "media_type" : "application/xhtml+xml",
    "compressedSize" : 236,
    "uncompressedSize" : 351,
    "compressionMethod" : "Deflated",
    "checkSum" : "d4286734e660578ba597d56a7e4bb8fdd3c8592d735197c3072cea769d5d0",
    "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/no_lang.xhtml" ]
  } ],
  "messages" : [ {
    "ID" : "ACC-007",
    "severity" : "USAGE",
    "message" : "Content Documents do not use 'epub:type' attributes for semantic inflection.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/invalid_lang.xhtml",
      "line" : -1,
      "column" : -1,
      "context" : null
    }, {
      "path" : "OPS/mismatched_lang.xhtml",
      "line" : -1,
      "column" : -1,
      "context" : null
    }, {
      "path" : "OPS/no_lang.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" : "lang.epub",
      "line" : -1,
      "column" : -1,
      "context" : null
    } ],
    "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-017",
    "severity" : "ERROR",
    "message" : "Content file has different language value in attributes xml:lang and lang.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/mismatched_lang.xhtml",
      "line" : -1,
      "column" : -1,
      "context" : null
    } ],
    "suggestion" : null
  }, {
    "ID" : "HTM-018",
    "severity" : "USAGE",
    "message" : "Content file has invalid language value at attribute xml:lang.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/invalid_lang.xhtml",
      "line" : -1,
      "column" : -1,
      "context" : null
    } ],
    "suggestion" : null
  }, {
    "ID" : "HTM-019",
    "severity" : "USAGE",
    "message" : "Content file has invalid language definition at attribute lang.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/invalid_lang.xhtml",
      "line" : -1,
      "column" : -1,
      "context" : null
    } ],
    "suggestion" : null
  }, {
    "ID" : "HTM-020",
    "severity" : "USAGE",
    "message" : "Content file doesn't contain xml:lang attribute.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/no_lang.xhtml",
      "line" : -1,
      "column" : -1,
      "context" : null
    } ],
    "suggestion" : null
  }, {
    "ID" : "HTM-021",
    "severity" : "USAGE",
    "message" : "Content file doesn't contain lang attribute.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/no_lang.xhtml",
      "line" : -1,
      "column" : -1,
      "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/invalid_lang.xhtml"
    }, {
      "path" : "OPS/toc.xhtml",
      "line" : -1,
      "column" : -1,
      "context" : "OPS/mismatched_lang.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/invalid_lang.xhtml"
    }, {
      "path" : "OPS/toc.ncx",
      "line" : -1,
      "column" : -1,
      "context" : "OPS/mismatched_lang.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 'The lang and xml:lang attributes must have the same value.'.",
    "additionalLocations" : 0,
    "locations" : [ {
      "path" : "OPS/mismatched_lang.xhtml",
      "line" : 2,
      "column" : 68,
      "context" : null
    } ],
    "suggestion" : null
  } ]
}
