mariarahat / bungeni-editor

Automatically exported from code.google.com/p/bungeni-editor
2 stars 0 forks source link

Translation Exception manager #50

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Translation exception manager uses a very laborious approach to generating a 
human readable 
error.

The method is not multilingual compatible since it relies on patterns in system 
generated error 
messages.  The method is also likely to fail if a different XML validator is 
used ...or a new version 
of the validator released

To Do : 

Rewrite the exception manager to use structural information about the error 
(from the exception 
signature, rather than the text of the message).

Original issue reported on code.google.com by ashok.ha...@gmail.com on 30 Oct 2009 at 2:32

GoogleCodeExporter commented 9 years ago
The translation exception manager also needs to be rewritten from the point of 
the way error handling is structrured ... presently -- failures, warnings and 
errors are handled indepdently rather than as a top down chain starting from 
the most sever to the least severe.  The current separation does not allow 
reuse, which is a problem as the error patterns are quite similar for warnings 
and failures.

Original comment by ashok.ha...@gmail.com on 21 Sep 2010 at 8:51

GoogleCodeExporter commented 9 years ago
TO DO :

move exception patterns into a configuration file -- currently these are 
hard-code in the code in a gigantic if {} else if {} else if {} 

Original comment by ashok.ha...@gmail.com on 21 Sep 2010 at 9:07

GoogleCodeExporter commented 9 years ago

Original comment by ashok.ha...@gmail.com on 27 Oct 2010 at 3:19