-
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
Add new @vocabulary and @vocabulary-uri attributes for elements relating to aid-type #402
Merged
Merged
Changes from 4 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
c022638
Update aid-type comment, add test data for optional vocabulary attribute
allthatilk 95dbd9b
Add vocabulary attribute to transation aid-type
allthatilk eaba278
Add test data for default-aid-type vocabulary attribute
allthatilk d65fbc9
Add vocabulary attribute to default aid-type
allthatilk 887a71a
Extract aid-type-base for aid-types of activity schema
allthatilk c0a2d84
Update code definition for aid-type-base
allthatilk b71f1cd
Merge branch 'version-2.03dev' into 2.03-update#346
511c664
Make aid-type-base xsd:complexType name camel case for consistency
allthatilk 94dba8a
Merge branch 'version-2.03dev' into 2.03-update#346
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...ould-pass/iati-activities/iati-activity/default-aid-type/_vocabulary/attribute-exists.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0"?> | ||
|
||
<iati-activities version="xx"> | ||
<iati-activity> | ||
<iati-identifier></iati-identifier> | ||
<reporting-org type="xx" ref="xx"><narrative>Organisation name</narrative></reporting-org> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For info, I've added an issue to fix the formatting of this line en masse before release: #403 |
||
<title> | ||
<narrative>Xxxxxxx</narrative> | ||
</title> | ||
<description> | ||
<narrative>Xxxxxxx</narrative> | ||
</description> | ||
<participating-org role="xx"></participating-org> | ||
<activity-status code="xx"/> | ||
<activity-date type="xx" iso-date="2013-11-27"/> | ||
<activity-date type="xx" iso-date="2013-11-27"> | ||
<narrative>Some stuff ere</narrative> | ||
</activity-date> | ||
<default-aid-type code="xx" vocabulary="xx"/><!-- PASS: Optional attribute present --> | ||
</iati-activity> | ||
</iati-activities> |
21 changes: 21 additions & 0 deletions
21
...tivities/iati-activity/default-aid-type/element-exists-with-required-subelements-only.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0"?> | ||
|
||
<iati-activities version="xx"> | ||
<iati-activity> | ||
<iati-identifier></iati-identifier> | ||
<reporting-org type="xx" ref="xx"><narrative>Organisation name</narrative></reporting-org> | ||
<title> | ||
<narrative>Xxxxxxx</narrative> | ||
</title> | ||
<description> | ||
<narrative>Xxxxxxx</narrative> | ||
</description> | ||
<participating-org role="xx"></participating-org> | ||
<activity-status code="xx"/> | ||
<activity-date type="xx" iso-date="2013-11-27"/> | ||
<activity-date type="xx" iso-date="2013-11-27"> | ||
<narrative>Some stuff ere</narrative> | ||
</activity-date> | ||
<default-aid-type code="xx"/><!-- PASS: Optional element present with only required attributes --> | ||
</iati-activity> | ||
</iati-activities> |
23 changes: 23 additions & 0 deletions
23
...-pass/iati-activities/iati-activity/transaction/aid-type/_vocabulary/attribute-exists.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0"?> | ||
|
||
<iati-activities version="xx"> | ||
<iati-activity> | ||
<iati-identifier></iati-identifier> | ||
<reporting-org type="xx" ref="xx"><narrative>Organisation name</narrative></reporting-org> | ||
<title> | ||
<narrative>Xxxxxxx</narrative> | ||
</title> | ||
<description> | ||
<narrative>Xxxxxxx</narrative> | ||
</description> | ||
<participating-org role="xx"></participating-org> | ||
<activity-status code="xx"/> | ||
<activity-date type="xx" iso-date="2013-11-27"/> | ||
<transaction> | ||
<transaction-type code="xx"/> | ||
<transaction-date iso-date="2010-07-07"/> | ||
<value value-date="2010-07-07">100</value> | ||
<aid-type code="xx" vocabulary="xx"/><!--PASS: Optional attribute present --> | ||
</transaction> | ||
</iati-activity> | ||
</iati-activities> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
vocabulary
is a commonly-used term, so would suggest naming thisaidTypeVocabulary
.