Are you using the 1.5.1 version?  I know there were several memory leaks fixed.
Jim
-----Original Message-----
From: Ross Niver [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 20, 2001 1:01 PM
To: [EMAIL PROTECTED]
Subject: schema Validation Help

Jim,
 
Your assumption is correct that the .xsd and the .xml file reside both on the same hard disk.
I have further tested the memory allocation for the computer and when the program is run with validation the memory allocated for that small .xsd and .xml file combination not totaling mor than  a few hundred kilobytes max out at 1.3gig!!!  Without the validation active, the memory allocation does not have any appreciable change.
 
I am pretty knew to programming with xerces also.... aka this is my first time programming with this library.
 
Any ideas... anybody?...
 
For the source code I am using I took it from the documentation and the example programs that the foundation provides.
i.e.
 
//parser->setValidationScheme(true);
//parser->setDoNamespaces(true);
//parser->setDoSchema(true);

Reply via email to