IQSS / DataTaggingServer

A web server to data-tag datasets (see datatags.org).
Apache License 2.0
2 stars 1 forks source link

Download as XML contains empty note nodes #98

Closed michbarsinai closed 5 years ago

michbarsinai commented 5 years ago

When there's no note, there should be no node.

e.g.:

<question id="[questionnaire.dg]OS8">
    <text>
        <![CDATA[
        Do you have the rights to make the software open? Has permission been obtained from your     institution, colleagues, subjects for you to publish this software under an open license? See [permissions worksheet](https://docs.google.com/document/d/1jLlWbzyTP9m3uMXPrAsrgEx5iXdPJvZ60cB7sDPGgxE/edit#heading=h.h5a8507jqfte) for guidance.
        ]]>
    </text>
    <note>
        <![CDATA[ ]]>
    </note>
    <answer>no</answer>
</question>