32 if (strpos(
$schema,
'urn:') !== 0) {
38 $modulePattern =
'/urn:(?<vendor>([a-zA-Z]*)):module:(?<module>([A-Za-z0-9\_]*)):(?<path>(.+))/';
39 $frameworkPattern =
'/urn:(?<vendor>([a-zA-Z]*)):(?<framework>(framework[A-Za-z\-]*)):(?<path>(.+))/';
40 $setupPattern =
'/urn:(?<vendor>([a-zA-Z]*)):(?<setup>(setup[A-Za-z\-]*)):(?<path>(.+))/';
41 if (preg_match($modulePattern,
$schema, $matches)) {
57 $schemaPath = $package .
'/' . $matches[
'path'];
58 if (empty($package) || !file_exists($schemaPath)) {
60 new Phrase(
"Could not locate schema: '%1' at '%2'", [
$schema, $schemaPath])
78 if (strpos($system,
'urn:') === 0) {
81 if (file_exists($system)) {
87 return fopen($filePath,
"r");
elseif(isset( $params[ 'redirect_parent']))
registerEntityLoader($public, $system, $context)