id=... has invalid data

Started by Hema, May 22, 2011, 06:22:25 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Hema

I have a problem in these file, When I put them into program, they are show me the following errors:
Id=61, id=62,id=63,id=64,id=69,id=83,id=84,id=87,id=88,id=91,id=92
all these have invalid data, and in another file, id=101,102,103,104,107,108,109,110, also When I did generate the file, the program show me a new errors :(

  I did small program read data from the database then convert php file to xml tags, then I put all xml tags into .fet file, then I put this file into fet program, Liviu if you are want to see the php file I'll send it for you.

After all, I don't know where the errors in these FET files, please! I need your help to detecting these errors.

Thank you.

Hema


Volker Dirr

Please generate a minimum example.
So remove everything that works/import fine.

If there are several similar errors, please remove all the other stuff, so that there are as less errors available as possible.

Then generate/save a file with fet and check how the official file should look like.
Then compare with your file.

If you always work with minimum files and/or add only a new feature step by step it should be much easier to find the bug.

Volker Dirr

I think one of the bugs is, that you use students "014" in an activity, but you didn't define a students set with that name.

Liviu Lalescu

#4
Yes, Volker found one error in the first file.

About the php file, you can post it here if it is public.

I advise you:

1) Use a nice structured (Edited to add: I mean nicely indented) .fet XML file;

2) Use utf-8 encoding for the .fet XML file;

3) Check carefully for errors like the one Volker discovered.

Hema

Woow, Volker you are right this is my error, I will try to solve the problem, I think I made ​​a mistake in programming.

Thanks  Liviu and Volker for your great advice and your help.

I'm happy, thank you  ;D