[TASK] Make InvalidXmlFileException for language files more verbose 02/52002/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Fri, 10 Mar 2017 11:14:45 +0000 (12:14 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 10 Mar 2017 21:39:13 +0000 (22:39 +0100)
commit423b1de5dd2f0cd7b6da21f9d9c4e3f1548f6415
tree559e6622a6cd8c389faf7fab543475bf29940b93
parenta0b7e26365dda543d659914a6421876bc72e53a3
[TASK] Make InvalidXmlFileException for language files more verbose

The message of the InvalidXmlFileException, thrown when parsing broken
language files now always shows the last occured error in libxml with
the affected file and line.

Resolves: #80224
Releases: master, 7.6
Change-Id: I49949119db73f0c09d997a3e2cf45bf86a9587c8
Reviewed-on: https://review.typo3.org/52002
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Localization/Parser/AbstractXmlParser.php
typo3/sysext/core/Classes/Localization/Parser/LocallangXmlParser.php