CKAN DataStore csv to xml conversion/download problem: field with space

25 views
Skip to first unread message

Gianpiero Guerrera

unread,
Aug 29, 2025, 3:14:37 AMAug 29
to CKAN Development Discussions
Hi! I'm running CKAN 2.9.9 instance. I've a problem during the conversion process of csv resource download in xml. In particular, if the CSV contains fields with spaces (e.g., number of people), this generates an XML file with an invalid tag (<number of people>). Would it be possible to define a way to convert spaces to "_"?

Best Regards

Adrià Mercader

unread,
Aug 29, 2025, 8:58:12 AMAug 29
to Gianpiero Guerrera, CKAN Development Discussions
Hi Gianpiero,

This looks like something that needs to be fixed. Would you mind creating an issue on the CKAN repo with all details?


That will make it easier for someone to provide help.

Thanks

Adrià

On Fri, 29 Aug 2025 at 09:14, Gianpiero Guerrera <gdev.new...@gmail.com> wrote:
Hi! I'm running CKAN 2.9.9 instance. I've a problem during the conversion process of csv resource download in xml. In particular, if the CSV contains fields with spaces (e.g., number of people), this generates an XML file with an invalid tag (<number of people>). Would it be possible to define a way to convert spaces to "_"?

Best Regards

--
ckan-dev mailing list
ckan...@ckan.org
https://groups.google.com/a/ckan.org/forum/#!forum/ckan-dev
Unsubscribe: send an email to ckan-dev+u...@ckan.org
To unsubscribe from this group and stop receiving emails from it, send an email to ckan-dev+u...@ckan.org.

Gianpiero Guerrera

unread,
Aug 29, 2025, 9:09:21 AMAug 29
to CKAN Development Discussions, Adrià Mercader, CKAN Development Discussions, Gianpiero Guerrera
Thank you Andrià.

Do you think is it a CKAN bug or a DataStore/DataPusher extension bug?

Best Regards,

Adrià Mercader

unread,
Aug 29, 2025, 9:12:48 AMAug 29
to Gianpiero Guerrera, CKAN Development Discussions
Reply all
Reply to author
Forward
0 new messages