Home » U++ Library support » U++ Core » Debugging XML files
Debugging XML files [message #36078] |
Tue, 24 April 2012 16:44 |
|
koldo
Messages: 3361 Registered: August 2008
|
Senior Veteran |
|
|
Hello Mirek
It would be great if it would be possible to debug XML (and probably JSON) strings with problems.
Now LoadFromXML() rejects the error messages by doing a catch(XmlError) {}. Perhaps they could be saved in a log file.
Sometimes the error messages could be better. For example in Value.cpp and other files, "invalid Value type" messages could include the invalid type, for example doing throw XmlError(Format("invalid Value type '%s'", name));.
And it would be great if the error message could include xml String line or char number where the problem appears. This way it would be easier to debug the problem.
Thank you!
Best regards
IƱaki
|
|
|
Goto Forum:
Current Time: Fri May 10 01:31:28 CEST 2024
Total time taken to generate the page: 0.01718 seconds
|