Feature #837

TBX: x.x, don't stop XML/w import during compiler step if a file is malformed

Added by Matthieu Decorde about 5 years ago. Updated over 4 years ago.

Status:Closed Start date:05/28/2014
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:Import Spent time: -
Target version:TXM 0.7.6

Description

don't stop the XML/w import during compiler step if a file is malformed.

Malformed file will be stored in the "compiler-error" directory
Display the filename when moved in "compiler-error" directory

History

#1 Updated by Matthieu Decorde about 5 years ago

  • Description updated (diff)

#2 Updated by Matthieu Decorde about 5 years ago

  • % Done changed from 0 to 80

#3 Updated by Sebastien Jacquot almost 5 years ago

Test OK with 9 files + 1 one malformed file.
The malformed file is well skipped.
But I can't find a message saying the file will be moved to "compiler-error".
I also cant' find the directory "compiler-error", should it be in TXM_USER ?

#4 Updated by Matthieu Decorde almost 5 years ago

The message is shown curing the "compiler" step : Moving $xmlFile to $errorDir
I'll add the "Warning: " prefix

#5 Updated by Matthieu Decorde almost 5 years ago

  • % Done changed from 80 to 90

#6 Updated by Serge Heiden almost 5 years ago

We need to set an explicit and consistent console messages policy:
- messages should be on one line if possible
- some messages must have a specific prefix
- warnings must have "** Warning: " prefix, FR: "** Avertissement : "
- errors must have "** Error: " prefix, FR: "** Erreur : "

#7 Updated by Matthieu Decorde over 4 years ago

  • % Done changed from 90 to 100

#8 Updated by Matthieu Decorde over 4 years ago

  • Status changed from New to Closed

Also available in: Atom PDF