Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Error load xml without header o with zeros

Hi guys,

I have a problem with a development because i has files xml emptys and with zeros:

pag1.jpg

and i'm not sure how to avoid reading these files. I tried with errormode and ScriptError, filesize, but nothing this is my code:

code1.png

Thanks so much,

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

There's a good video about error trapping here: Error Trap | qlikcentral. Perhaps that will show you how to catch any errors, skip the 'bad' xmls files and continue processing the rest.

And you should probably kick somebody upstairs that causing these bad xml files to end up in your source file directory.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

There's a good video about error trapping here: Error Trap | qlikcentral. Perhaps that will show you how to catch any errors, skip the 'bad' xmls files and continue processing the rest.

And you should probably kick somebody upstairs that causing these bad xml files to end up in your source file directory.


talk is cheap, supply exceeds demand
Not applicable
Author

Hi Gysbert,

Served me much help the video.

Thank you very much.