Main Menu

Error

Started by bart.leyen, April 27, 2017, 10:23:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bart.leyen

Hello, when I try to open my database i get an error message.

Could not read file - XML parse error at line 264, column 27:
The teacher Aimable has attached an inexistent qualified subject . Please note that starting with FET version 5.31.5 the list of subjects (tag <Subjects_List> in the .fet XML file) must appear before the list of teachers (tag <Teachers_List> in the .fet XML file)

Can someone please help me with this, because I spend a lot of time in the creation of this timetable  :'(

Kind regards
Bart

Liviu Lalescu

#1
Hello,

The FET bug is that it should write "5.30.0" instead of "5.31.5" (thank you for this bug report!). I think the rest is your bug. Please attach your file or send it by email. Basically, you should follow what the message says.

Is your file generated by FET or by another program?

bart.leyen

Hi

Thanks for your reply, I already found the problem. I used '&' in the name of a subject. Aperently this was the problem.

Kind regards

Volker Dirr

You are right. We printed "&" into the qualified subject name instead of protecting that string to "&amp;". Will be easy to fix (i think). Thank you for report.

Volker Dirr

Liviu: In teacher.cpp line 40 the protection is missing. It must be "+protect(sbj)+"

Liviu Lalescu

Thanks, Volker :)

Thank you, bart.leyen! I released a new version to fix the bug.