Skip to content

Commit

Permalink
Merge pull request #744 from fabricek/pr/pr-685-739
Browse files Browse the repository at this point in the history
 Failed to locate a schema at location #685 #739 The Tests are red/failu...
  • Loading branch information
lsmith77 committed Apr 13, 2014
2 parents c04a931 + 555eb43 commit 9f309b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Routing/Loader/RestXmlCollectionLoader.php
Expand Up @@ -177,7 +177,9 @@ public function supports($resource, $type = null)
protected function validate(\DOMDocument $dom)
{
$restRoutinglocation = realpath(__DIR__.'/../../Resources/config/schema/routing/rest_routing-1.0.xsd');
$routinglocation = realpath(__DIR__.'/../../Resources/config/schema/routing/routing-1.0.xsd');
$restRoutinglocation = str_replace('\\', '/', $restRoutinglocation);
$routinglocation = realpath(__DIR__.'/../../Resources/config/schema/routing-1.0.xsd');
$routinglocation = str_replace('\\', '/', $routinglocation);
$source = <<<EOF
<?xml version="1.0" encoding="utf-8" ?>
<xsd:schema xmlns="http://symfony.com/schema"
Expand Down

0 comments on commit 9f309b7

Please sign in to comment.