Hello Developers,
The head has currently a pattern on the Datatype String which makes it a
little hard to upgrade some sites. The pattern is \A[^\n\r]*\z which
means that no newlines are allowed in the input.
There is a specialization 'field' which does allow newlines, but we
haven't used that a lot in our builders. It sounds odd to me that a
specialization is more lenient then its base type.
I propose to make a new specialization and move the pattern to that one.
<specialization id="line">
<!-- no new lines -->
<pattern value="\A[^\n\r]*\z" />
</specialization>
Nico
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers