Home Forums General XMetaL Discussion Attribute with empty string value Reply To: Attribute with empty string value


Reply to: Attribute with empty string value

Yes, I see that this is a consequence of the attribute inspector treating an empty string and “missing” as equivalent, and also that this is the best behaviour in most cases.

Unfortunately adding/removing the attributes won't work. In this case it's a boolean: either the attribute is missing or has an empty string value. I'll have to tell them to either use plain-text or add a customisation (like an inline form with a checkbox).

I have one suggestion that would help a bit in this case: could the attribute inspector distinguish attributes that were missing from those with an empty string value? Maybe the name could be displayed with a different style for missing attributes.