https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 --- Comment #2 from David Cook <dcook@prosentient.com.au> --- (In reply to Julian Maurice from comment #1)
+1 for moving Koha config out of zebra config file +1 for not using XML
But -1 for using YAML. I know we already use YAML for everything in Koha, but YAML has a lot of disadvantages
I'm not finding those links particularly persuasive. Using Perl's YAML module, I wasn't able to reproduce a single issue from those links. Plus many of the proposed issues should be easily avoidable anyway.
One concrete problem we had in Koha recently was that some MARC field tags starting with 0 were parsed as octal numbers. (040 becomes 32 but 099 remains 99)
Can you point me to a bug report for that one? That sounds very interesting. I couldn't reproduce that problem based on the description.
I think that this bug might be a good opportunity to consider alternatives (HJSON, JSON5, TOML, ...)
I've never heard of HJSON or JSON5, but I have used TOML a couple times. It was easy to use, and the documentation is good. It looks like libtoml-perl is available in the Debian repositories, so that would be OK. I'm not particularly wedded to YAML. I'd be fine with TOML. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.