Book a Demo

Author Topic: Allow larger patterns then 255 in XSD generation  (Read 3818 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13508
  • Karma: +573/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Allow larger patterns then 255 in XSD generation
« on: May 13, 2016, 12:07:02 am »
For IBAN Account numbers there's a pattern that is 848 characters long.
But the tagged value on the XSDSimpleElement only allows for 255 characters.

The usual workaround for things like this is to use <memo> as value so you can type in the longer content into the notes window.
Unfortunately the XSD generation is not smart enough to recognize this and simply generates &lt;memo&gt; as pattern

Can we please make the XSD generation a bit smarter so it can handle large patterns?

Geert

PS. The current workaround for this problem at my client is to change the database structure to enlarge the t_objectproperties.Value column. Unfortunately I cannot offer an alternative (yet).

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Allow larger patterns then 255 in XSD generation
« Reply #1 on: May 17, 2016, 11:55:44 am »
Hmm, I think you'll find this the EA database structure a hard limit, see for example File path too short (sorry I can't locate this in the new forum), guess that why you need the work-around.
Orthogonality rules
Using EA16.1 (1627) on Windows 11 Enterprise/64 bit. Repositories in SQLServer2019 DB Schema 1558.
WebEA on Pro Cloud Server 4.2.64