Ticket #974 (closed Task: fixed)

Opened 7 years ago

Last modified 7 years ago

q2cim producing empty value element

Reported by: rupert Owned by: rupert
Priority: blocker Milestone: V1.1 Questionnaire Release
Component: WP6 - CMIP5 Questionnaire Version:
Keywords: subCMIP5 Cc: gerry, charlotte, mark, paul
Requirement: http://metaforclimate.eu/Work-Package-2/Developing-the-CIM/Project-Requirements-summary.htm


In certain circumstances the q2cim translator is producing an empty value element when it should be outputting a value (at least I think this is the case). Mark E. reported this as it was being picked up as a validation error ...

The error as observed by Mark:

In Land Ice Shelves for hadGEM2-ES I have responded N/A for the SnowTreatment?. The validation reports that "Snow Treatment +must possess a non-empty value element". For our model we don't deal with snow on land ice.

==== Exported XML has empty value element for shortName Method despite presence in questionnaire:

<componentProperty represented="true">

<shortName>SnowTreatment?</shortName> <longName>SnowTreatment?</longName> <componentProperty represented="true">

<shortName>Method</shortName> <longName>Method</longName> <value/>

Change History

comment:1 Changed 7 years ago by rupert

  • Status changed from new to closed
  • Resolution set to fixed

Previous fix to remove empty properties appears to have solved this problem

Note: See TracTickets for help on using tickets.