Coder Social home page Coder Social logo

Comments (6)

bill-anderson avatar bill-anderson commented on July 30, 2024

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 ..."

from iati-schemas.

stevieflow avatar stevieflow commented on July 30, 2024

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)?

from iati-schemas.

bill-anderson avatar bill-anderson commented on July 30, 2024

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??

from iati-schemas.

stevieflow avatar stevieflow commented on July 30, 2024

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."

from iati-schemas.

Bjwebb avatar Bjwebb commented on July 30, 2024

The purpose of having @version in iati-activities is so that a data user can easily look at a file, and work out what version of the IATI Standard is needed to interpret the file. I don't think it should be possible to have activities of differing versions in a file (as this is problematic for data consumers), but this is not a constraint we currently describe anywhere.

I've written my proposal for this up on the support forum http://support.iatistandard.org/entries/50761977--version-should-be-consistent

from iati-schemas.

Bjwebb avatar Bjwebb commented on July 30, 2024

This has been fixed in 2.01 by requiring both version attributes, and requiring that all versions in a file are the same:
http://support.iatistandard.org/entries/57866638-Tightening-up-on-version
#109

from iati-schemas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.