Skip to content

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

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions