blended-modeling / eatxt

Eclipse Public License 2.0
1 stars 1 forks source link

Do not serialise empty elements #27

Closed steghoja closed 2 years ago

steghoja commented 2 years ago

The serialiser currently also writes out empty attributes. For instance, it generates a file like this:

EAPackage DataTypesPackage
  category
  uuid 03
  name
  RangeableValueType AA_PercentType
    category
    uuid ac61934c-8851-4742-acde-2f41e401febb
    name
    text

Empty attributes such as name and category should not be serialised.

This blocks #7.