make non-ascii text be passed inside SchemaValidationError #339
make sure xml entities are injected correctly to the returned xml document.
minor.