
25 Mar
2014
25 Mar
'14
2:13 a.m.
2014-03-25 1:09 GMT+01:00 Johan Engelen <jbc.engelen@...2592...>:
I believe we are using that functionality in plenty of places for the value parameter. (passing NULL for value means something like "remove the attribute completely").
The check for empty key-value and replacing it with NULL is a mistake from my side I think.
I think that XML specifies that there must be no difference between a missing attribute and an attribute with an empty value (correct me if I'm wrong). If the XML tree treats NULL and empty strings differently, it should be fixed.
Regards, Krzysztof