[TYPO3-german] XML Parser Problem
Chris Wolff - AERTiCKET AG
cwolff at aer.de
Tue Dec 2 14:10:19 CET 2014
Hallo Christian,
die Languages files hast du bestimmt schon mal versucht zu updaten oder?
Gruss chris
-----Ursprüngliche Nachricht-----
Von: typo3-german-bounces at lists.typo3.org [mailto:typo3-german-bounces at lists.typo3.org] Im Auftrag von Christian Knauf
Gesendet: Dienstag, 2. Dezember 2014 13:44
An: typo3-german at lists.typo3.org
Betreff: Re: [TYPO3-german] XML Parser Problem
Hallo,
es sind leider immer verschiedenen XML oder XLF Dateien. In den Dateien sind jeweils Entities. Es sind allerdings immer Core Language.xml Dateien. Daher denke ich, das es eine Server bzw. PHP Einstellung ist, der diese Fehler hervorruft.
Ich habe im TYPO3 Core die Stelle gefunden, die den Fehler erzeugt:
\TYPO3\CMS\Core\Localization\Parser\AbstractXmlParser
Zeile 158-167
/**
* Reads and parses XML file and returns internal representation of data.
*
* @param string $targetPath Path of the target file
* @return array
* @throws \TYPO3\CMS\Core\Localization\Exception\InvalidXmlFileException
*/
protected function parseXmlTargetFile($targetPath) {
$rootXmlNode = FALSE;
if (file_exists($targetPath)) {
$rootXmlNode = simplexml_load_file($targetPath, 'SimpleXmlElement', \LIBXML_NOWARNING);
}
if (!isset($rootXmlNode) || $rootXmlNode === FALSE) {
throw new \TYPO3\CMS\Core\Localization\Exception\InvalidXmlFileException('The path provided does not point to existing and accessible well-formed XML file (' . $targetPath . ').', 1278155987);
}
return $this->doParsingTargetFromRoot($rootXmlNode);
}
_______________________________________________
TYPO3-german mailing list
TYPO3-german at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
More information about the TYPO3-german
mailing list