w3c / activitystreams

Activity Streams 2.0
https://www.w3.org/TR/activitystreams-core/
Other
278 stars 62 forks source link

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

Open alexcastano opened 5 years ago

alexcastano commented 5 years ago

Please Indicate One:

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.

cjslep commented 5 years ago

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.

evanp commented 10 months ago

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