activitystreams icon indicating copy to clipboard operation
activitystreams copied to clipboard

In Vocabulary, use "Object | Link" rather than "Link | Object" (Proposed Errata)

Open bobwyman opened this issue 2 years ago • 3 comments

Please Indicate One:

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

Please Describe the Issue:

In the ActivityStreams Vocabulary's listing of Terms, the Range and Domain descriptions are defined sometimes as "Object | Link" and sometimes as "Link | Object." Given that "Object | Link" and "Link | Object" are semantically identical, unnecessary apparent specification complexity would be reduced by adopting a consistent method of expressing this conjunction.

I suggest that the Domain and Range descriptions of attributedTo, and preview; and the Range descriptions of mediaType, and subject should be changed from "Link | Object" to "Object | Link." Prior to these changes actually being made, they should be recorded as Errata.

Why "Object | Link" rather than "Link | Object"?

  • "Object | Link" is used 25 times in the current version while "Link | Object" is used only 6 times. - The impact of this proposed change would be limited by adopting the form which is currently most commonly used.
  • "Object" is more general than "Link" - It seems natural to list options in decreasing order of generality, it makes sense to use "Object | Link" as the preferred pattern

bobwyman avatar Nov 01 '23 17:11 bobwyman

Since every errata has to be listed out and in theory read by all implementors I don't think this is worth the extra noise it would create in the errata list given that it makes no difference what order a union is in.

nightpool avatar Nov 02 '23 15:11 nightpool

@bobwyman I agree with this as an editorial change, but I'm not sure it's an erratum. It's not actually an "error" -- just bad formatting! I think if we do an editorial update to the document, we should change this. I'm not sure how to track this, so I'm labelling it "editorial" and self-assigning. I'll see if I can find the right way to handle it.

evanp avatar Nov 15 '23 17:11 evanp

Is this perhaps related to #572 ?

ThisIsMissEm avatar Jan 10 '24 18:01 ThisIsMissEm