Uploaded image for project: 'SimplyE 2.0'
  1. SimplyE 2.0
  2. SIMPLY-3026

Parse audiobook manifest even if when optional fields are specified as null

XMLWordPrintable

      The Readium Web Publication Manifest designates as optional the media type for links:

      However, if the type is provided with the value null, as in the example below, some clients throw an error when parsing the manifest.

      {
          "readingOrder": [...list of parts...],
          "@context": "http://readium.org/webpub/default.jsonld",
          "links": [
              {
                  "href": "...some URL...",
                  "type": null,
                  "rel": "alternate"
              },
              { ...another link object... }
          ],
          "metadata": { ... }
      }
      

            leonardrichardson Leonard Richardson [X] (Inactive)
            TimDiLauro Tim DiLauro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: