U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » Debugging XML files
Debugging XML files [message #36078] Tue, 24 April 2012 16:44
koldo is currently offline  koldo
Messages: 3458
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
Previous Topic: LoadFromXMLFile() proposal when file is not found
Next Topic: Problem with "Time" type in XML strings
Goto Forum:
  


Current Time: Fri May 01 18:17:43 GMT+2 2026

Total time taken to generate the page: 0.00417 seconds