Skip to content

Make processing of embedded HTML normative #57

Closed
@gkellogg

Description

@gkellogg

Currently, Embedding JSON-LD in HTML Documents is entirely informative. We've discussed making this normative, requiring JSON-LD processors to be able to identify and extract JSON-LD from a script tag with type application/ld+json within the HTML document.

  • Given multiple such script tags, which one is used?
  • Should we define a parameterized content-type to allow the version to be specified (e.g., application/ld+json;version=1.1)
  • Does the current document base affect the base for JSON-LD processing?
    • location of HTML document
    • html>head>base@href
  • xml:base of closest ancestor element
  • Does the document language affect the default language for JSON-LD processing?
    • HTTP header- Content-Language
    • @lang, @xml:lang

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions