You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
a forex factory calendar xml, it works almost everytime but randomly it show that error. Can I do something to avoid the error or run the code again if it detect that error again?
You could tweak the library to catch this problem and return NULL in createSibling(), but you would have to fix the calling point to deal with it. And possibly you could have other issues.
This error probably appears because you get a wrong XML answer from time to time, so in my opinion the best solution is to check for that beforehand.
You could tweak the library to catch this problem and return NULL in createSibling(), but you would have to fix the calling point to deal with it. And possibly you could have other issues.
This error probably appears because you get a wrong XML answer from time to time, so in my opinion the best solution is to check for that beforehand.
Thank you for your answer Alain, ok I will check if I can solve the error by checking the xml answer.