younginnovations / aidstream-old

[Deprecated] AidStream is a platform for small and medium size NGOs to publish their aid data in IATI standard.
http://aidstream.org
3 stars 13 forks source link

values as decimal #84

Closed stevieflow closed 8 years ago

stevieflow commented 9 years ago

Take a look at this file:

Validation report:

http://validator.iatistandard.org/?perm=www.aidstream.org_files_xml_hfhgb-br.xml_1414579862

2 Error 1824 Element 'coordinates', attribute 'latitude': '-08° 03' 14''' is not a valid value of the atomic type 'xs:decimal'. 2 Error 1824 Element 'coordinates', attribute 'longitude': '-34° 52' 52''' is not a valid value of the atomic type 'xs:decimal'. 2 Error 1824 Element 'capital-spend', attribute 'percentage': '1%' is not a valid value of the atomic type 'xs:decimal'.

Perhaps AidStream should/could be rendering/correcting such input as users enter values?

anjesh commented 8 years ago

The location now only allows decimals though capital-spend takes string. Need to fix.

image

This file https://www.aidstream.org/files/xml/hfhgb-br.xml still has problem and needs to be edited and republished to fix the validation error.

anjesh commented 8 years ago

Capital spend now takes only numeric.

image