1. Automatically insert an attribute value that's the same as the name
     (which I think it always should be), for things like disabled.

  2. Prevent people adding null values to the map in the first place. To
     do this, we'd need to wrap the IValueMap in XmlTag with some magic
     on the put method to check for null values. Or we could add a
     boolean flag to IValueMap to say whether it accepts them, or
     similar.

Obviously #1 is nice and simple.

What do people think?

#1 sounds good to me.

Eelco

Reply via email to