EasyRdf\Exception

Description

Unable to parse data of an unknown format. (Error Code: 0)

Source File

${DocumentRoot}/dl/vendor/easyrdf/easyrdf/lib/Graph.php (239)

0228:     {
0229:         $this->checkResourceParam($uri, true);
0230: 
0231:         if (empty($format) or $format == 'guess') {
0232:             // Guess the format if it is Unknown
0233:             $format = Format::guessFormat($data, $uri);
0234:         } else {
0235:             $format = Format::getFormat($format);
0236:         }
0237: 
0238:         if (!$format) {
0239: throw new Exception(
0240: "Unable to parse data of an unknown format." 0241: ); 0242: } 0243: 0244: $parser = $format->newParser(); 0245: return $parser->parse($this, $data, $format, $uri); 0246: } 0247: 0248: /** 0249: * Parse a file containing RDF data into the graph object. 0250: * 0251: * @param string $filename The path of the file to load

Stack Trace

#0 ${DocumentRoot}/dl/protected/Modules/Fedora6.php(581): EasyRdf\Graph->parse()
#1 ${DocumentRoot}/dl/protected/DL/Collection.php(21): Application\Modules\Fedora6->getResource()
#2 ${DocumentRoot}/dl/protected/Pages/Browse/Collection.php(45): Application\DL\Collection->__construct()
#3 ${PradoFramework}/Web/UI/TPage.php(231): Application\Pages\Browse\Collection->onPreInit()
#4 ${PradoFramework}/Web/UI/TPage.php(222): Prado\Web\UI\TPage->processNormalRequest()
#5 ${PradoFramework}/Web/Services/TPageService.php(536): Prado\Web\UI\TPage->run()
#6 ${PradoFramework}/Web/Services/TPageService.php(454): Prado\Web\Services\TPageService->runPage()
#7 ${PradoFramework}/TApplication.php(1329): Prado\Web\Services\TPageService->run()
#8 ${PradoFramework}/TApplication.php(410): Prado\TApplication->runService()
#9 ${DocumentRoot}/dl/index.php(20): Prado\TApplication->run()
#10 {main}
2026-06-25 23:57 Apache/2.4.58 (Ubuntu) PRADO/4.3.1