fix skipping of empty text nodes in rapidxml parser (matches libxml2) - closes #2253