Ticket #20 (closed defect: fixed)
Prefix-only CURIEs may not be interpreted correctly by librdfa
| Reported by: | msporny | Owned by: | msporny |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.0 |
| Component: | parser | Version: | 0.15 |
| Keywords: | Cc: |
Description
(Reported by Ivan Herman):
A small thing: I am not 100% sure who has the bug, distiller or librdfa, but I would vote for the former :-)
Look at http://www.w3.org/2009/Talks/0115-Amsterdam-IH/Overview.html, and you will discrepancies between the two. The difference comes from the interpretation of that @about=[talk:] value. I interpret this as a reference being the empty string, ie, the URI becoming the value assigned to 'talk' via a @prefix. You seem to interpret this is fully empty, ie, the URI of the file itself...
I must admit the spec does not really decide on that, more exactly, when defining a CURIE, it does not say what happens if the reference is empty. The grammar suggests that this should not happen, but the full interpretation of the CURIE is perfectly consistent it it is an empty string. Maybe something that has to be specified via an extra RDFa test case...
