Skip to content

Section 2.2 on IRIs and URLs in activitystreams-core incorrectly references URLs in JSON being a problem #648

@ThisIsMissEm

Description

@ThisIsMissEm

The current text is:

Relative IRI (and URL) references SHOULD NOT be used within an Activity Streams 2.0 document due to the fact that many JSON parser implementations are not capable of reliably preserving the base context necessary to properly resolve relative references.

However, JSON doesn't do anything at all with URLs and IRIs, to JSON they are just strings. I think the text meant to read:

Relative IRI (and URL) references SHOULD NOT be used within an Activity Streams 2.0 document due to the fact that many JSON-LD parser implementations are not capable of reliably preserving the base context necessary to properly resolve relative references.

Which would make a lot more sense, since JSON-LD has specific handling of URLs and ID values. (emphasis just to show the change, not to actually emphasize it in the spec)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions