voc / voctosched

Tools for generating and manipulating frab-style fahrplan
GNU General Public License v3.0
1 stars 12 forks source link

Importing from csv leads to broken XML #34

Closed dvzrv closed 6 years ago

dvzrv commented 6 years ago

I'm currently exporting the data for Linux Audio Conference 2018, using voctosched to build a fahrplan.xml from a DIY csv (with the demo csv as guidance). This seems to work without issues (now), but the generated XML doesn't lint using the xsd validator. Running the script as explained in the README, leads to:

../lac2018/files/lac2018.xml:34: element links: Schemas validity error : Element 'links': Character content other than whitespace is not allowed because the content type 
is 'element-only'.

And sure enough, in the XML I'll find

<links>None</links>
<attachments>None</attachments>

per event!

Is the import_handler for csv broken and inserts None to those nodes or am I missing something import?

zuntrax commented 6 years ago

Seems like I broke this, working on a fix.