Fixed a regression in com-ec that lead to errors when parsing xml documents
(cherry picked from commit 064eb11b08be70fb778f36b591930b678f12903a)

Signed-off-by: Marc Grimme <grimme@atix.de>