You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shouldn't we make the element AnalysisSampleCollection mandatory?
Currently it's facultative, but it has a mandatory child element Sample,
so effectively the element AnalysisSampleCollection also must be present.
Sometimes I see in PRIDE uploads .mzid files with missing Sample elements,
I assume because some implementers wrongly interpreted that must not be there because AnalysisSampleCollection is currently not mandatory.
I don't know about this particular case, but in general in PSI XML formats (and XML schema) it is permissable to have a required subelement of an optional element. And this means that if the optional element is present, then it MUST have the required subelement. But if the optional element is left out, then there is no subelement. In others words, a required subelement does NOT imply that the parent element is required.
No description provided.
The text was updated successfully, but these errors were encountered: