Accept <data>0</data> as a value instead of empty.

Signed-off-by: crynobone <crynobone@gmail.com>