View Issue Details

IDProjectCategoryView StatusLast Update
0010073Talerrobocoppublic2025-06-08 01:14
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PrioritylowSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version1.0 stretch goalsFixed in Version1.0 stretch goals 
Summary0010073: robocop should be split into XML parser and matching logic
DescriptionRight now, robocop has hard-coded an XML parser for the Swiss sanctions list. I suggest separating it into two binaries:

1) One to parse the XML and convert it into an internal JSON format (with just the data needed for the matching logic later)
2) One to read the JSON (instead of XML) and only do the matching logic

This has several advantages:
* the 2nd binary would be independent of the Swiss sanction list format, so easier to later add other sanction lists by just converting whatever their input format might be to the internal JSON format
* the 2nd binary would have no dependencies on XML and other transitive dependencies of the XML parser, eliminating supply chain concerns for the binary that is actually running on the production system
* likely each binary will be a bit simpler, also making maintenance easier
TagsNo tags attached.

Activities

Christian Grothoff

2025-06-08 01:14

manager   ~0025184

CH-XML to JSON converter now exists.

Issue History

Date Modified Username Field Change
2025-06-05 12:09 Christian Grothoff New Issue
2025-06-08 01:14 Christian Grothoff Assigned To => Christian Grothoff
2025-06-08 01:14 Christian Grothoff Status new => assigned
2025-06-08 01:14 Christian Grothoff Note Added: 0025184
2025-06-08 01:14 Christian Grothoff Status assigned => resolved
2025-06-08 01:14 Christian Grothoff Resolution open => fixed
2025-06-08 01:14 Christian Grothoff Fixed in Version => 1.0 stretch goals
2025-06-08 01:14 Christian Grothoff Target Version post-1.0 => 1.0 stretch goals