[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Schema checking did not allow optional attributes (ITS#3889)
Pierangelo Masarati wrote:
>The suggested change looks incorrect; in fact, it must never occur that the
>a_vals member is non-null but no value is present. Actually, it only occurred
>in the case indicated by (ITS#3861), so that issue could be correctly tracked
>down. This change should be rejected.
>
>
In actual testing, I've run into the case were a_vals is non-null but
contains 0 items in the case of an optional attribute. Perhaps a change
upstream of the point in the patch would be more appropriate.