-
Notifications
You must be signed in to change notification settings - Fork 9
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
@version attribute on iati-activity #30
Comments
Should be in iati-activities only. (can't see the use case for two activities in the same file employing different versions) Documentation should say: "defaults to the current version ..." |
Is that a proposal to *remove" @Version from iati-activity? I had understood the rationale for including it was in the use case where people parse out activities (as in the datastore). In this case, how would we know what version these activity documents relate to (although granted, this is not in use currently)? |
Yup you're right, the use case is not for loading into the data store (which can inherit from iati-activities) but in the xml blobs that can be accessed separately.What then is the point of having it in iati-activities?? |
Please also note that the description text with this particular attribute is: "A number indicating the IATI specification version in use. Defaults to "1.0" if not specified. It is required to specify this attribute if the document is using features specific to an IATI specification other than the initial 1.0 version." Whereas for iati-activities it is just: "A number indicating the IATI specification version in use." |
The purpose of having I've written my proposal for this up on the support forum http://support.iatistandard.org/entries/50761977--version-should-be-consistent |
This has been fixed in 2.01 by requiring both version attributes, and requiring that all versions in a file are the same: |
Should this be on both iati-activities and iati-activity. The behaviour if one is defined and the other isn't is not well defined. Moreover, it is not clear if documents with iati-activity elements with different version attributes are permitted, since the documentation says iati-activity@version refers to whether the document uses certain features.
Additionally, the documentation says that it defaults to '1.0'. This version of the schema is not available online.
The text was updated successfully, but these errors were encountered: