Feature #1248

TBX, x.x, don't stop import if a XSL failed to be applied and better error messages

Added by Matthieu Decorde over 4 years ago. Updated 7 months ago.

Status:New Start date:02/02/2015
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Import Spent time: -
Target version:TXM X.X

Description

Currently TXM stops the import process and displays a stacktrace if a XSL failed to be applied on a XML source file.

TXM needs to go farther with the other source texts and try to finalize the import.

Solution

  • add a try&catch block
  • display the path+name of the source file
  • display the XSL error message in the console
  • move the source file not processed in the "xslerror" sub-directory of the binary corpus directory

History

#1 Updated by Matthieu Decorde over 4 years ago

  • Description updated (diff)

#2 Updated by Serge Heiden over 4 years ago

  • Subject changed from TBX, x.x, don't stop import if a XSL failed to be applied to TBX, x.x, don't stop import if a XSL failed to be applied and better error messages
  • Description updated (diff)

#3 Updated by Matthieu Decorde about 4 years ago

  • Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)

#4 Updated by Sebastien Jacquot over 1 year ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

#5 Updated by Matthieu Decorde 7 months ago

  • Target version changed from TXM 0.8.0 to TXM X.X

Also available in: Atom PDF