If the XML after conversion doesn't validate against the IATI schema, the output is based on line numbers in the XML file, eg:
Line Severity and code Message
193 Error 1824 Element 'value': '' is not a valid value of the atomic type 'xs:decimal'.
The link to the XML file might open in the browser, showing the raw XML but without line numbers.
The steps of downloading the XML file and opening it in an editor with line numbers is trivial for programmers, but not for non-programmers.
Suggestions:
1) Best, but hardest: (also) provide the user with the IATI identifier of the activity in which an element doesn't validate. That makes it easiest to go back to the source file to fix things.
If the XML after conversion doesn't validate against the IATI schema, the output is based on line numbers in the XML file, eg:
Line Severity and code Message 193 Error 1824 Element 'value': '' is not a valid value of the atomic type 'xs:decimal'.
The link to the XML file might open in the browser, showing the raw XML but without line numbers.
The steps of downloading the XML file and opening it in an editor with line numbers is trivial for programmers, but not for non-programmers.
Suggestions:
1) Best, but hardest: (also) provide the user with the IATI identifier of the activity in which an element doesn't validate. That makes it easiest to go back to the source file to fix things.
2) Provide an XML preview page within CSV2IATI with for instance the SyntaxHighlighter: http://alexgorbatchev.com/SyntaxHighlighter/manual/installation.html
3) Last resort :-) Add instructions for people about downloading into an editor with line numbers (cross-platform...?)