-
Notifications
You must be signed in to change notification settings - Fork 33
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
Algorithm Terms and IRI expansion algorithm contradict each other #642
Comments
Yes, it's intentional that these values differ from the default for the algorithm, as that represented the general usage within the spec when the macro was introduced.
Again, correct.
I believe you're discussing 13.4.4.3:
So, the macro-default of The language in these steps invokes the IRI expanding macro (rather than invoking the algorithm directly), for which the default for vocab is |
Right, indeed it does. I've gone in and reviewed all my call sites for IRI Expansion because it turns out they all go through the macro wrapper. It might be helpful to call out the difference explicitly in the introduction of the IRI expansion algorithm, as the fact that those two would be different didn't occur to me at all. If that's acceptable I'm happy to submit a PR with that change. |
It's hard to accept PRs from non-WG members, except for very small changes. I'll mark this to be done as part of a planned future update to the spec. |
In section 1.4.1 Algorithm Terms (emphasis mine):
false
true
In section 5.2.2 IRI Expansion Algorithm (emphasis mine):
false
false
Step 13.4.4 of expansion, section 5.1.2, does not specify the value for vocab, so I went with
false
as per the default specified by the IRI expansion algorithm. This makes things not work. Seeing as step 13.4.3 explicitly specifiesfalse for vocab
it does seem like the default should betrue
and the IRI expansion algorithm introduction contains a mistake.The text was updated successfully, but these errors were encountered: