comments and workaround for descendant+text() bug