activitystreams icon indicating copy to clipboard operation
activitystreams copied to clipboard

The property definition links to `object` and `image` are incorrectly linked

Open alexcastano opened this issue 6 years ago • 2 comments

Please Indicate One:

  • [ ] Editorial
  • [ ] Question
  • [ ] Feedback
  • [ ] Blocking Issue
  • [x] Non-Blocking Issue

On https://www.w3.org/TR/activitystreams-vocabulary/#properties the links of object and image point to the Object and Image types, instead of the properties with the same name.

alexcastano avatar Dec 07 '18 15:12 alexcastano

I think existing implementations have been interpreting this to mean that the range is only those ActivityStream types (or extended types). Note that these are non-functional (in the RDF sense) so there may be more than 1 present in a JSON array.

cjslep avatar Dec 07 '18 18:12 cjslep

Alex, yes, the specification tool that we use for AS2, respec, normalises "Object" and "object" to "object". So the links all go to the first definition on the page with that ID, which is the "Object" one.

I added ids to the definitions for the properties, and made links to them have explicit hrefs. I think it works a lot better.

I added a pull request here, and hopefully this is an erratum we can push soon.

https://github.com/w3c/activitystreams/pull/548

evanp avatar Oct 11 '23 16:10 evanp