.comment-link {margin-left:.6em;}

Ben Cops

Tuesday, February 07, 2006

Allow early termination

This thread pointed me back to another Schema node extra - allow_early_termination="true". This allows me to have the last element in a positional set within a set of delimited rows be shorter than specified.
Handy for the 32A field on a SWIFT message which is positional for the date/currency/amount, with the amount "up to" 15 characters long.

SWIFT accelerator come back - all is forgiven!

[edit] if you import a schema within another, and use one of your nodes as a type in the parent, you need to remember to add this attribute on the parent too!


Post a Comment

<< Home