protected function findSchemaFile($fileName)
    {
        // check if we got a specific schema file we have to use, otherwise use the default one
        $this->schemaFile = realpath(__DIR__ . '/../../../../../') . DIRECTORY_SEPARATOR . self::DEFAULT_XML_SCHEMA;
        $fileName = pathinfo($fileName, PATHINFO_FILENAME);
        if (isset($this->schemaFiles[$fileName])) {
            $this->schemaFile = $this->schemaFiles[$fileName];
        }
    }
protected function findSchemaFile($fileName)
    {
        // check if we got a specific schema file we have to use, otherwise use the default one
        $this->schemaFile = realpath(__DIR__ . '/../../../../../') . DIRECTORY_SEPARATOR . self::DEFAULT_XML_SCHEMA;
        $fileName = pathinfo($fileName, PATHINFO_FILENAME);
        if (isset($this->schemaFiles[$fileName])) {
            $this->schemaFile = $this->schemaFiles[$fileName];
        }
    }
protected function findSchemaFile ( $ fileName ) { // check if we got a specific schema file we have to use, otherwise use the default one $ this -> schemaFile = realpath ( __DIR__ . '/../../../../../' ) . DIRECTORY_SEPARATOR . self :: DEFAULT_XML_SCHEMA ; $ fileName = pathinfo ( $ fileName , PATHINFO_FILENAME ) ; if ( isset ( $ this -> schemaFiles [ $ fileName ] ) ) { $ this -> schemaFile = $ this -> schemaFiles [ $ fileName ] ; } }
Will try to find the appropriate schema file for the file to validate

@param string $fileName Name of the file to find the schema for

@return null
Will try to find the appropriate schema file for the file to validate