guzzle/guzzle — pull request #182 by rh389 (2012-11-23 11:31:23+00:00)
Title: Update src/Guzzle/Service/Command/LocationVisitor/Request/XmlVisitor.php

$property may have been configured with filters.

When $property is an object or array these filters are applied by addXML, but other types are added directly to the SimpleXMLElement so that filters are never applied.

Modified to use addXml recursively instead of directly adding children/attributes to the simpleXMLElement, this accounts for filtering (and also removes the duplication relating to xmlAttribute)