Fix #1594 Rename element field of Text and Comment to characterdata

Rename element field of Text and Comment to characterdata.