-
Notifications
You must be signed in to change notification settings - Fork 6
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
resolve #90 (ObsCore example) and resolve #91 (relax content-type) #93
Conversation
resolve ivoa-std#91 (relax content-type in response headers) make INFO element with standardID a MUST
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me.
Will give other authors a chance to comment. |
Le 01/02/2023 à 01:21, Patrick Dowler a écrit :
Will give other authors a chance to comment.
—
Reply to this email directly, view it on GitHub
<#93 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMP5LTDTBS7HXCLVRN7A26DWVGUCPANCNFSM6AAAAAAUNB6ETQ>.
You are receiving this because you are subscribed to this
thread.Message ID: ***@***.***>
OK for me. François
|
On Tue, Jan 31, 2023 at 04:21:58PM -0800, Patrick Dowler wrote:
Will give other authors a chance to comment.
I'm fine with the drift of the comment, and feel free to merge.
However, I'm not quite sure why you went from MUST to {\bf must} in
L507; by RFC whatever, that's equivalent, but I suspect people will
still wonder whether there's any special meaning to the difference in
typography.
Similarly nitpicking, your "the content-type header of the response
MAY be any value allowed by the VOTable specification" technically
means "it can be anything at all". I'd prefer if this said
the content-type header of the response MUST be one of the media
types allowed by the VOTable specification, [and so on as it's now]
|
Le 01/02/2023 à 09:29, msdemlei a écrit :
On Tue, Jan 31, 2023 at 04:21:58PM -0800, Patrick Dowler wrote:
> Will give other authors a chance to comment.
I'm fine with the drift of the comment, and feel free to merge.
However, I'm not quite sure why you went from MUST to {\bf must} in
L507; by RFC whatever, that's equivalent, but I suspect people will
still wonder whether there's any special meaning to the difference in
typography.
Similarly nitpicking, your "the content-type header of the response
MAY be any value allowed by the VOTable specification" technically
means "it can be anything at all". I'd prefer if this said
yes good point Markus.
…
the content-type header of the response MUST be one of the media
types allowed by the VOTable specification, [and so on as it's now]
—
Reply to this email directly, view it on GitHub
<#93 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMP5LTGSG7ZWPSUXHQVHMRLWVINIHANCNFSM6AAAAAAUNB6ETQ>.
You are receiving this because you commented.Message ID:
***@***.***>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally agree but see comments. There should also be a note of this change in the Sec 5.1 change log.
DataLink.tex
Outdated
a different format, the content-type header of the response MUST be | ||
``application/x-votable+xml'' with the | ||
``content'' parameter set to ``datalink'', | ||
a different format, the content-type header of the response MAY be any value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree with Markus, MAY doesn't make sense here, should be SHOULD (or possibly MUST)
DataLink.tex
Outdated
</RESOURCE> | ||
\end{verbatim} | ||
|
||
As of this version, the {links} response {\bf must} include this INFO element |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest replacing "As of this version" with "From version 1.1 of this standard". Otherwise the text is likely to remain in future revisions and be confusing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also: DALI 1.1 4.4.3 says "The standardID of a service specification is the IVOA resource identifier for the StandardsRegExt record not including capability-specific fragments." Does that mean that the value attribute in this example should be value="ivo://ivoa.net/std/DataLink"
instead of value="ivo://ivoa.net/std/DataLink#links-1.0"
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, that's true of the standardID of the specification as used in a StandardsRegExt document. Here is is the standardID of the links endpoint itself, which is defined within that spec.
So I think it's OK.
on MUST vs git blame didn't really help me figure out where this came from, but the section on conformance terms (eg MUST) was added by Mark. Otherwise we've all used unformatted and bold lowercase. |
On Wed, Feb 01, 2023 at 11:57:52AM -0800, Patrick Dowler wrote:
on MUST vs `{\bf must}`.... the document uses the latter form
everywhere else. I can make the change in the other direction is
that's what we should be doing.
I don't care at all, as long as it's halfway consistent so people
don't wonder whether varied typography means something. In the
current master, I still count two MAY, seven SHOULD, and two MUST
(not counting the ones in the preamble).
I note in passing that writing {\bf xy} has been (more or less)
deprecated for about two decades now because it breaks NFSS (i.e., it
would be trouble once we changed the base font in ivoatex). We
should rather use \textbf{must}.
I can make the edits either towards boring old MUST, \textbf{must}
throughout or possibly even \rfcmust, \rfcshould, and \rfcmay (for
eventual inclusion in ivoatex). While the latter may sound a bit
overengineered, now that I think of it they may actually be useful
for people writing validators... but that's probably another
discussion.
But then I'm grateful if you push whatever pattern you prefer into
this PR...
|
note: not global search and replace: only used where applicable to something specified in this doc some minor editorial tweaks I noticed along the way
along with this, the CADC datalink service you get to by querying the ivo://cadc.nrc.ca/argus TAP service now support the applicable DataLink-1.1 features:
example for public data: For CADC, We have not added the code to populate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that defining the \rfc*
macros with a trailing space is ... questionable.
I can see why you've done it, but (1) it's unusual practice, so people are likely to write "... \rfcmay\ ..." and get too much whitespace, also (2) you can't avoid extra whitespace if you want punctuation following them directly. You might argue that (2) is unlikely for a modal verb which sounds plausible ... but the "Conformance-related definitions" section up front contains text like 'The words "\rfcmust'', "\rfcshould'', ...' which end up including unwanted whitespace inside the quotes (and I also see at least one occurrence of '\rfcoptional.').
Also, ,can you summarise the content-type requirement changes in the change log in Section 5.1.
changed use of blinks command to use trailing backslash style
Removed usage of trailing backslashes after some \rfc* macros where they are not followed by whitespace. The point of the "\xxx\ " idiom is to prevent the whitespace that follows a macro from being interpreted as simply the macro name delimiter and thus swallowed. Writing "\xxx\ " stops that happening by placing a whitespace macro after the \xxx macro; if you write something like "\rfcoptional\." it is interpreted as the "\rfcoptional" macro followed by the "\." macro, which isn't what you want. An alternative way to ensure that the macro is terminated without swallowing following whitespace is to write "{\xxx}".
Thanks Mark. Unsufficient latex-fu on my part :-) |
resolve #90 (ObsCore example)
resolve #91 (relax content-type in response headers)
make INFO element with standardID a MUST
Hopefully these are final changes before PR.