Skip to content

EditMOM3 template has to fit to existing data

Created by: GVogeler

currently the editor controls in EditMOM3 are exclusively defined by the bindings in https://github.com/icaruseu/mom-ca/blob/master/my/XRX/src/mom/app/collection/template/mycollection-charter.template.xml . The documents stored in MOM-CA were created without this template, so they could:

  • use additional elements (#35)
  • don't use a required element
  • use the elements in a nesting not included in EditMOM3 (#276)

Possible solutions?

  • create a template "on the fly" merging the data of the original charter and the default template
  • create a template "covering all" possibilities of markup (might need a more restricted schema to ensure that)
  • build EditMOM3 more generically without a template