Book a Demo

Author Topic: Tagged values  (Read 3436 times)

Oopah

  • EA Novice
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Tagged values
« on: May 10, 2016, 09:38:18 pm »
Hi all,

I have a logical model on EA, that I use to generate a GML application schema. On some compulsory attributes (string ones), even if the multiplicity is set to 1:1, and not nillable (nillable="false", default behavior), when I create a bogus XML file, I can leave the XML tag unfilled and it's still considered valid.

I tried putting a "minLength" tag at 1, but it does not translate into the XML schema. After looking into it, it seems that's because attributes are not treated as SimpleType. How can I force EA to tell its XML generator that a certain attribute is going to be a simple type ?

Many tahnks for any hints. :)