Book a Demo

Author Topic: Tell Schema Composer that schema was not generated  (Read 3309 times)

Rodrigo Nascimento

  • EA User
  • **
  • Posts: 33
  • Karma: +3/-0
    • View Profile
Tell Schema Composer that schema was not generated
« on: June 17, 2015, 01:03:36 am »
Hi All,

Me again with the Schema Composer customisation issues...

Continuing the journey from my previous post (http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1433779277), I'm now trying to include some validations regarding the XSD style that we are generating. I'm struggling to find a way to tell Schema Composer that the XSD generation failed. Even if my add-in code throws an exception, the Schema Composer presents the exception on screen and another message after saying that the schema was successfully generated. I also tried to return 'false' in the EA_GenerateFromSchema method, with no effect.

Can anybody tell me what I'm missing?

Regards,
Rod



Please check my blog for more EA related articles!

http://connection.rnascimento.com