Skip to Content
Mar 18, 2011 at 09:01 AM

Handling restrictions in message mappings



i have got a question regarding handling restrictions in xsd-files. Is there any support while developing a message mapping where unrestricted fields are mapped on fields with restrictions?


Targetfield has got a restriction like this:

<xsd:restriction base="xsd:string">

<xsd:maxLength value="70"/>


Without having a look on xsd-source it's very easy to overlook this information. Not using validation it results in cutting of any letters of a string longer than 70 without giving any information on runtime.

Using validation it should fail on runtime, but is there any tool (mechanism) supporting designtime issues, beside looking up all restrictions in the xsd by myself?

Kind regards,

Markus Schalk