@staticmethod
    def question_onvalidate(form):

        from xml.sax.saxutils import unescape

        metadata = form.vars.metadata
        if metadata != None:
            metadata = unescape(metadata, {"'":'"'})
        return True

    # -------------------------------------------------------------------------
Any text with the metadata that is imported will be held in
dataset/ETHPy150Open sahana/eden/modules/s3db/survey.py/S3SurveyQuestionModel.question_onvalidate