4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Routing\Tests\Fixtures;
14 use Symfony\Component\Routing\Loader\XmlFileLoader;
15 use Symfony\Component\Config\Util\XmlUtils;
18 * XmlFileLoader with schema validation turned off.
20 class CustomXmlFileLoader extends XmlFileLoader
22 protected function loadFile($file)
24 return XmlUtils::loadFile($file, function () { return true; });