fix a bug that xml backend cannot process XML elements lack text on load