Skip to content

Commit

Permalink
Trim any stray ws from the parsed XML.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Oct 2, 2013
1 parent 15edbb7 commit 209af49
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -59,11 +59,11 @@ public function handle(Horde_Controller_Request $request = null)
}

if (!empty($values)) {
$params = array('request_schema' => $values[0]['attributes']['XMLNS']);
$params = array('request_schema' => trim($values[0]['attributes']['XMLNS']));
// Response Schema is not in a set place.
foreach ($values as $value) {
if ($value['tag'] == 'ACCEPTABLERESPONSESCHEMA') {
$params['response_schema'] = $value['value'];
$params['response_schema'] = trim($value['value']);
break;
}
}
Expand Down

0 comments on commit 209af49

Please sign in to comment.