fix getElementData for types without nodes
fix getElementData for types without nodes

yangf4/core,YetAnotherMinion/core,yangf4/core,YetAnotherMinion/core,yangf4/core,YetAnotherMinion/core,YetAnotherMinion/core,YetAnotherMinion/core,yangf4/core,yangf4/core