Still having incomplete XML writing issues

D

darrel

We've been building a CMS system that spits out XML files everytime the site
menu is updated. These XML files are then used by the front-end.

About once a week, one of these files gets half-written. The writing of the
file just ends halfway through, thereby leaving in invalid XML file which
throws an error in our application.

We're at a total and complete loss as to why this happens. Any theories?
Could it be Norton? It's a function that writes the XML file...could these
be getting interuppted somehow?

The only solution thus far that I've come up with is to write the XML file,
then open the XML file. If invalid, write again. Repeat as needed or until I
time it out (after so many checks) and then throw an error. Hardly ideal.

-Darrel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top