Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: Geert Bellekens on May 13, 2016, 12:07:02 am

Title: Allow larger patterns then 255 in XSD generation
Post by: Geert Bellekens 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).
Title: Re: Allow larger patterns then 255 in XSD generation
Post by: skiwi 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 (http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1393801894/6#6) (sorry I can't locate this in the new forum), guess that why you need the work-around.