Merge pull request #5 from vania-pooh/master

Added XML validation tests and fixed issues with outputted XML 1.4.x com...