Comment 2 for bug 400477

Revision history for this message
Francis J. Lacoste (flacoste) wrote :

It might be worthwhile to explicitely mark fields that do normalization.

Define a INormalizedField that only define a normalize(value) method. Instead of creating a fake context on which we can call the set() method to retrieve the normalized value, ResourceOperation could simply call normalize() on fields that support it, otherwise use the unmarshalled value directly.