[TASK] Make InvalidXmlFileException for language files more verbose 95/51995/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:30:51 +0000 (22:30 +0100)
commit45b89f091612bb892a2232141a37bc6d2b35f05b
tree7e07747a3662a69f9f3bffb23dbeb8e3ed4507d1
parent89b986c4a8c2d1056249ac05257c87f4a5a972fb
[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/51995
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
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