Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDFa 1.1 seems unsupported #161

Open
warpr opened this issue May 10, 2013 · 2 comments
Open

RDFa 1.1 seems unsupported #161

warpr opened this issue May 10, 2013 · 2 comments

Comments

@warpr
Copy link

warpr commented May 10, 2013

(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

@indeyets
Copy link

@warpr you have a spacebar after sioc:. is that intentional?

@warpr
Copy link
Author

warpr commented May 10, 2013

yes. I omitted the space after dc:, which is not intentional (it doesn't change the outcome however).

See: http://www.w3.org/TR/xhtml-rdfa-primer/#repeating-properties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants