OpenDataServices / cove

CoVE is an web application to Convert, Validate and Explore data following certain open data standards - including 360Giving, Open Contracting Data Standard, IATI and the Beneficial Ownership Data Standard
http://cove.opendataservices.coop
Other
43 stars 12 forks source link

Source Mapping for IATI spreadsheets #651

Open robredpath opened 7 years ago

robredpath commented 7 years ago

We want to be able to relate validation messages back to where it was in a spreadsheet that caused them.

To do this we need to know the location in the XML (ie. the xpath), where the error occured.

Bjwebb commented 7 years ago

After doing some digging myself at the start of last week, I discovered today that there's a commit on lxml master now that does exactly what we want - https://github.com/lxml/lxml/commit/61087e2d3cb7d99dcf6efd03b695c77759770c4a - which was introduced in this pull request https://github.com/lxml/lxml/pull/244/files.