Skip to content

Fetching data islands in RDFa too zealous #692

@doriantaylor

Description

@doriantaylor

Hi,

I have RDFa markup that has <script> tags that have a type that is Parsable but they have src attributes so there's nothing in the bodies. The following code thus blows up:

rdfParse(scripts[i].textContent, kb, xhr.original.uri, contentType)

Would it be possible to add an option to Fetcher.load to turn this behaviour off? Or otherwise skip over it if there's an src attribute, or otherwise have it no-op or wrap in a try block or something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions