nagyistoce / open-pdf-presenter

Automatically exported from code.google.com/p/open-pdf-presenter
GNU General Public License v3.0
0 stars 0 forks source link

Program Exit on Error: Parsing XML-Notes-File with "&" #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. PDF imported via Button "open"
2. Import Notes Button "open" with "&"-character in notes tested in UTF8 and 
ISO 8859-1

What is the expected output? What do you see instead?
Program exist instantly, windows terminal closed directly - no chance to see 
the error until i startet the program from command-line directly

What version of the product are you using? On what operating system?
I used Version 0.2.99, Windows-Binaray on Windows 8.1.

Please provide any additional information below.
It would be nice to see parser-error in GUI, program should not exit on parsing 
error in xml-file :)

Original issue reported on code.google.com by bahoo...@googlemail.com on 1 Aug 2013 at 1:11

GoogleCodeExporter commented 9 years ago
Just committed a patch to the development branch that adds the behavior that 
you suggested:
- When launching from the command lines and specifying notes, if the notes file 
has errors open-pdf-presenter prints the errors to the console and exists;
- When attempting to load a notes file with errors using the GUI, 
open-pdf-presenter shows a dialog with the error.

Each error has the line number and a small description.

Let me know if it works with you. Sorry for taking so long to give you 
feedback. Meanwhile I'm marking this as fixed.

Original comment by zait...@gmail.com on 28 Aug 2013 at 2:00