Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


The case of the missing attribute... HELP!!!

From: rDeckard@-----------.---------.---
To: NULL
Date: 4/6/2005 4:35:00 AM
I'm developing a data transfer application using Visual Studio 6 that detects 
the arrival of data files on a server, processes them and inserts the result 
into an Oracle Database.
For this app, I've developed a COM component in C++ to detect the arrival of 
certain files and queue them for processing, a file processing out-of-process 
component in VB that uses msxml 4.0, and the main application to handle all 
the components and provide a user-interface, also done in VB. There can be up 
to 5 file-processing components running simultaneously, each in it's own 
process (the public class is single-use), each using a global copy of 
freethreadedDOMDocument40 to temporarily store and process the files, which 
are different for every file processor.
The storing of the resulting data is done in a different private sub, using 
the global DOM document. A number of tests of the type "if 
IsNull(IXMLDOMElement.getAttribute("Date")) Then..." are done initially to 
ensure that no loss of global data occurs in the msxml objects between 
function calls. The problem is that it DOES ocurr! Most of the time it works 
fine, but ocasionally the attribute variable which should contain date 
information is missing.
Sorry about the long post, but this is a weird one to describe, especially 
because it pops up randomly.


Thanks in advance,
Dario.


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent