Author Topic: Model Validation Whitelist / Black List  (Read 433 times)

Jayson

  • EA User
  • **
  • Posts: 322
  • Karma: +1/-0
    • View Profile
Model Validation Whitelist / Black List
« on: February 10, 2021, 06:24:17 am »
Greetings all

I am trying to add Model Validations (white list and black list) to an MDG.
I have started off using the example supplied: (https://sparxsystems.com/enterprise_architect_user_guide/15.2/modeling/model_validation_2.html)

I copy both the white and black lists into the MTS as instructed and run the MDG generator.
The end result is thus:

1. The black list ends up in the MDG and remains in the MTS file.
2. The white list is scrubbed entirely from the MTS file and does not end up in the MDG.

Is this because everything is white listed (i.e. activated) by default in Sparx?

Cheers

Jays :-)

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2852
  • Karma: +48/-3
    • View Profile
Re: Model Validation Whitelist / Black List
« Reply #1 on: February 10, 2021, 08:03:43 am »
I think it's because you can't have both at the same time.
The Sparx Team
support@sparxsystems.com

Jayson

  • EA User
  • **
  • Posts: 322
  • Karma: +1/-0
    • View Profile
Re: Model Validation Whitelist / Black List
« Reply #2 on: February 10, 2021, 08:49:06 am »
Ah yes! Of course!
My stupidity.

I just tried inserting the white list only into the MTS and hey presto!

Thanks :-)