Hello,
Found a solution to my memory leak problem. Again, this is strange as well.
By setting the DOM_Document to 0 before deleting does the trick.
Code example:
int main(int argc, char* argv[])
{
XMLPlatformUtils::Initialize();
DOMParser* parser = new DOMParser;
parser->setValidationSch
Hello,
Using Xerces 1.5.1
MS VC++ 6.0 sp5
window 2000 OS
This I found to be very strange. In my testing to be able to open multiple
xml files I found a memory leak that occurs once the DOM_Document is gotten
from the DOMParser. Even though the DOMParser is reset and/or deleted, and
the DOM_Docu
Greetings,
I discovered the source of my problem. The test application SEnumVal
(which shows how to access the schema constraining a document)
runs properly with the right configuration. My mistake was to link
with the Debug Single-threaded runtime, rather than the correction
Debug Multi-threa
Ok, so I was forgetting a little bit of stuff. The element stack *is* also
used to store information that is only used when validating. The stack
itself just follows the nesting of elements. However, at each nesting level,
we keep some information about all of the children encountered so far. At
t
Thanks, Peter, for the SEnumVal sample program. Unfortunately, it doesn't
work
for me as is. The program encounters an "Access Violation" in MSVC 6.0 when
attempting to reference an expression *fToEnum->fIdPtrs[fCurIndex++] in the
method
template TVal&
RefHas3KeysIdPoolEnumerator::nextElement
Peiyong,
There were a number of modules added since I made my changes, causing
additional build problems. I should have them taken care of my
tomorrow. I'll post an updated project file then.
Thanks,
Don
At 12:11 PM 8/23/2001 -0400, you wrote:
>Don,
>
> The BCB5 project files (XercesLi
I have a question regarding the array of QName objects that are
allocated for each row within the ElemStack class: is it necessary to
maintain a list of all these children for checking whether a document is
well-formed or is this array of children only necessary for checking if
a document is vali
Title: RE: Xerces-C 1.4.3
I believe you're right. Thanks.
-Original Message-
From: Jesse Pelton [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 1:46 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Xerces-C 1.4.3
I think the sender was referring to a section of the
Title: Xerces-C 1.4.3
I think the sender
was referring to a section of the XML specification, not to a version of Xerces.
(See http://marc.theaimsgroup.com/?l=xerces-c-dev&m=99850194819375&w=2.)
-Original Message-From: Williamson, Siehnai
[mailto:[EMAIL PROTECTED]]Sent: Thursday, Au
Title: Xerces-C 1.4.3
I got the version numbers from a thread here. I think the sender probably meant version 1.4.3. Even so, I can't find that version on the website. I don't want to use version 1.5.0 or 1.5.1 right now because of their purported memory leaks (probably due to the schema im
hi,
as an xml beginner i am seeking an example of using schema that uses other
schemas (include? import? neither?) to validate some xml docs with xerces
c++.
Thanx,
oren.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
Memory-tracking tools will report unreleased memory at shutdown. Not a big
deal, really.
-Original Message-
From: Julia Larson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 1:54 PM
To: [EMAIL PROTECTED]
Subject: XMLPlatformUtilities::Terminat
What are the consequences of
What are the consequences of not running XMLPlatformUtilities::Terminate
ever? I noticed that one of the Xerces example programs does not bother
to do that.
-Julie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
On Tue, 21 Aug 2001 09:54:41 -0400, Mark Northcott wrote:
>I thought that SAX avoided this type of memory consumption since it is
>event driven and simply notifies my custom ContentHandler as each type
>of XML tag is encountered.
It is. Replace your handler with an empty one, and measure mem u
Thanks for the response. We do only run the Intialize once
in our app. Creating the parser and parsing values into
the Dom_Node works fine. It's just that when we go to use
XMLString::transcode (to convert Dom_Node to a string), we find
that gTranscoder wasn't set way back in the initi
I'm rather a newbie. But I had a similar problem. I found that
I could only really run XMLPlatformUtilsInitialize() once at executable
startup and could only run the XMLPlatformUtils::Terminate() command
once, e.g. in the dtor. Otherwise, it would throw exceptions when
attempts were made to
"Gale, Gary (Factiva)" wrote:
> Thanks Tinny,
>
> It looks like the last stable build was 1.3.0 ... do we want to make a 1.5.1
> distribution?
That would be nice if you can.
> If so, I'll happily do the honours; where do you want it once
> built?
Better be the same location (i.e.
http://dials
Don,
The BCB5 project files (XercesLib, samples, and BorlandCDefs.hpp, etc)
have been checked in, and your addition to the /src/BUILDINSTRUCTIONS.TXT
has been updated to the /doc/build-winunix.xml as well, please help verify
the
content (run the createdocs.bat and check the
/doc/html/build-w
Thanks Tinny,
It looks like the last stable build was 1.3.0 ... do we want to make a 1.5.1
distribution? If so, I'll happily do the honours; where do you want it once
built?
Gary
> -Original Message-
> From: Tinny Ng [mailto:[EMAIL PROTECTED]]
> Sent: 23 August 2001 16:05
> To: [EMAIL P
>From what we've said a while back, we grep the binary package from your website
(http://dialspace.dial.pipex.com/town/plaza/gy90/xerces-c/stable/) to the
experimental folder from time to time...
Tinny
"Gale, Gary (Factiva)" wrote:
> OK, I follow you now. I did make the offer to provide a Tru64
OK, I follow you now. I did make the offer to provide a Tru64 binary kit for
Xerces-C when we ported to Tru64 a while back but no-one seemed to want to
take up the offer.
Does anyone have any idea as to who should be contacted about this?
Gary
> -Original Message-
> From: Kari Whitcomb
Hello,
We are trying to generate a wellformed XML String (from Dom_Node)
within
a COM wrapper, and are using the Apache xerces-c-1_5_1 library with our
code.
Running standalone (on Solaris), the (XML) code works perfectly.
However, when built into
a COM wrapper libra
I was more interested in actually seeing it added to the Apache site.
Xalan-C was recently ported to Tru64 and we were interested in seeing a
Tru64 dist added to the Xalan downloads, but this can't happen unless there
is a corresponding Xerces-C download.
-Kari
- Original Message -
From:
Hi Kari,
A nightly build of Xerces-C is available from
http://dialspace.dial.pipex.com/town/plaza/gy90/xerces-c/
These were originally supposed to be available on the Apache site but this
hasn't been done yet.
Does this help?
Gary
> -Original Message-
> From: Kari Whitcomb [mailto:[
Hi,
What would it take to get a xerces-c 1.5.1 distribution for Tru64 Unix added
to the downloads available from the Apache site? I can probably put
together the distribution (if given instructions), but didn't know if there
were other obstacles to getting it added.
Thanks,
Kari Whitcomb
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3246
I am using Xerces 1.5.1 and find that quite a bit of memory is used and
retained when parsing an xml file.
The file I am using is about 1.6 meg and running a short program that only
parses the file the memory usage is about 24 megs. This is in release mode.
Does this seem correct? Should I be
I agree, after looking at the source code, I too thought that this was
how the ElemStack was supposed to work. I also tried turning off
validation, but experienced the same results. Then, using BoundsChecker
I monitored the memory usage, and memory was continually being allocated
within the Elem
28 matches
Mail list logo