Task #33836

Add better error handling to XML file parsing

Added by Karsten Dambekalns over 3 years ago. Updated over 3 years ago.

Status:Resolved Start date:2012-02-10
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:I18n
Target version:TYPO3 Flow Base Distribution - 1.1
Sprint: Has patch:No
PHP Version: Complexity:

Description

When parsing XML files the exception thrown in case of errors does not differentiate between filesystem and parsing errors. Plus no hints on the XML errors are given to the user.

Associated revisions

Revision 987a264f
Added by Karsten Dambekalns over 3 years ago

[TASK] Add better handling of XML parse errors to I18n

When parsing XML files the exception thrown in case of errors did not
differentiate between filesystem and parsing errors, now it does.

In case of XML errors, a detailed list of errors reported by
libxml are added to the thrown exception.

Change-Id: I1be265fb6553057e3df905fe89a50bbf11964b69
Resolves: #33836
Releases: 1.1

History

#1 Updated by Gerrit Code Review over 3 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8968

#2 Updated by Gerrit Code Review over 3 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8968

#3 Updated by Karsten Dambekalns over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF