Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 3356
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 Apr 19 05:16:40 CEST 2024

Total time taken to generate the page: 0.01541 seconds