symfony/Serializer — pull request #6 by kevinhillinger (2014-02-21 18:41:59+00:00)
Title: adding namespace support on $context for XML encoding

The XmlEncoder wasn't able to set the xmlns on the root node of the xml
document. By adding this, it supports other languages serializers that
need strongly-typed xml.

This is necessary if an XSD that has a targetNamespace has proxies generated in any other language (Java, C#). I'm doing this so our team can interop when serializing/deserializing.