Skip to content

RDFa 1.1 seems unsupported #161

@warpr

Description

@warpr

(Originally posted to create.js at bergie/create#180 )

I have changed the prefix declaration in examples/example.html to this:

    <div prefix="sioc: http://rdfs.org/sioc/ns#  dc: http://purl.org/dc/terms/"

As the xmlns: syntax is deprecated in RDFa 1.1. I also renamed dcterms to dc.

If I now reload the page I get the following errors in vie-min.js:

Error: No prefix found for URI 'dc:hasPart'!
Error: No prefix found for URI 'dc:title'!

Whereas if I search and replace "dcterms" with "dc" in the original document everything still works.

My changes are in https://github.com/warpr/create/tree/rdfa-1.1-test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions