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

docs/schema_org_rdfa.html has href="dc:Event" instead of @resource #81

Closed
danbri opened this issue Aug 12, 2014 · 2 comments
Closed

docs/schema_org_rdfa.html has href="dc:Event" instead of @resource #81

danbri opened this issue Aug 12, 2014 · 2 comments
Labels
type:bug A mistake or malfunction whose remedy should be straightforward technical work

Comments

@danbri
Copy link
Contributor

danbri commented Aug 12, 2014

This issue is a duplicate of #70

  1. the RDFa syntax is wrong - href doesn't expect qualified names
  2. the namespace is wrong; Event is is dc's type namespace.

http://dublincore.org/documents/2012/06/14/dcmi-terms/?v=terms#dcmitype-Event

The RDFa initial context file doesn't define a prefix for dcmi-type, http://www.w3.org/2011/rdfa-context/rdfa-1.1

The correct uri would be http://purl.org/dc/dcmitype/Event

@danbri
Copy link
Contributor Author

danbri commented Aug 12, 2014

Reported http://lists.w3.org/Archives/Public/public-vocabs/2014Aug/0149.html by Peter Patel-Schneider.

Ivan / W3C's RDFa 1.1 parser reports "[In element 'link'] Unusual URI scheme used in
dc:Event; may that be a mistake, e.g., resulting from using an undefined
CURIE prefix or an incorrect CURIE?" (http://www.w3.org/2012/pyRdfa/)

Addressing this should also address the issue for other types, "Unusual URI scheme used in
dcat:DataCatalog; may that be a mistake, e.g., resulting from using an
undefined CURIE prefix or an incorrect CURIE?"". Easier for those as they are in a namespace that's in the RDFa Initial Context, and so can be passed through without namespace processing being added.

Suggested actions:

  1. remove dc:Event for now
  2. move other mappings into @resource instead of @href.

@danbri danbri added the bug label Aug 12, 2014
@danbri danbri closed this as completed Aug 12, 2014
@danbri
Copy link
Contributor Author

danbri commented Aug 12, 2014

We already have an issue tracking this from gregg, closing as duplicate.

#70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug A mistake or malfunction whose remedy should be straightforward technical work
Projects
None yet
Development

No branches or pull requests

1 participant