Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

href should be @type: xsd:anyURI in the context document #595

Open
trwnh opened this issue Apr 29, 2024 · 1 comment
Open

href should be @type: xsd:anyURI in the context document #595

trwnh opened this issue Apr 29, 2024 · 1 comment

Comments

@trwnh
Copy link

trwnh commented Apr 29, 2024

w3c/activitypub#375 (comment)

In the AS2-Vocab normative recommendation, href is defined to always be xsd:anyURI

In the AS2 context document, it is not defined as such

Conclusion: Make the context document consistent with the normative spec

@evanp
Copy link
Collaborator

evanp commented May 1, 2024

This seems like a good idea to make a direct change to the context document.

The Activity Vocabulary clearly gives the type for href. The context document has a similar but not identical type. The hole that that opens, namely including an Object or Link as the href value, is so clearly outside the intention of the property that it should not be a problem to close up this hole.

I'd recommend making a change to the context document to reflect the text correctly.

@evanp evanp self-assigned this May 1, 2024
@trwnh trwnh changed the title href should be @type: xsd:anyUri in the context document href should be @type: xsd:anyURI in the context document May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants