Ticket #20 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

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...

Change History

Changed 3 years ago by msporny

The correct interpretation for this issue is here:

 http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2009Jan/0016.html

This is a bug in librdfa that should be fixed.

Changed 2 years ago by msporny

  • status changed from new to closed
  • resolution set to fixed

This has been fixed in v0.16.

Note: See TracTickets for help on using tickets.