Missing specification to generate XML eCH-0222
Hi,
The specification of the generation of XML eCH-0222 needs to be improved to ensure an independent generation in the verifier.
You are right that it is not part of the Swiss Post specification to specify the xml file, as the standard is part of it. Nevertheless, it is not possible to generate the eCH-0222 in a form that the implementation of the algorithm 4.4 VerifyECH0222 of the verifier specifications works.
The following elements should be explicitly specified
- The namespace prefix (see #71)
- The content of all elements in the deliveryHeader
- The content of all elements in the reportingBody
- The order of the countingCircleRawData elements
- The order of voteRawData when many votes happened
- The order of electionGroupBallotRawData when many elections happened
- The order of ballots within voteRawData and electionRawData
- If a ballot contains many objects/elections, the order of the objects must be defined.
For the points 4, 5 and 6, it must be taken into account that some ballot boxes could be consolidated to one counting circle (if municipalities have citizens with different voting rights).
The list is based on my actual knowledge, and it could have some missing elements.
Best regards Denis