🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #870

Xerces + Mac + unmapped memory exception

#870
From: RK
Date: Mon, 06 Jan 2003 08:47
21 lines
1664 bytes
Hi,

I am using Xerces port for Mac from Apache. It's not an official port
though.

I am extracting DOMNodeLists for 4 different tags from a DOM document.
I know these DOMNodeLists are "live" (pointers to the DOM tree). I am
not changing anything, and am just getting some information out of
those lists.

But, the behaviour is not as expected. I get "unmapped memory
exception" on the 2nd "doc->getElementByTagName(tag)" statement. I
don't know why that (memory corruption) happens. Either there is a
problem with my understanding of the usage of Xerces or there's a
serious problem with Xerces on Mac.

Could someone please help me here? I had decided to use Xerces for XML
parsing in my project and it would be hard to back out.

Thanks,
RK
Technical Details
Message-ID: <389ca595.0301060047.4034bfed@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,d5669dc6e8f7338c,start
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,d5669dc6e8f7338c,start
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2003-01-06 00:47:04 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: rkchats@yahoo.com (RK)
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: Xerces + Mac +  unmapped memory exception
Date: 6 Jan 2003 00:47:04 -0800
Organization: http://groups.google.com/
Lines: 21
Message-ID: <389ca595.0301060047.4034bfed@posting.google.com>
NNTP-Posting-Host: 203.122.14.34
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1041842824 17696 127.0.0.1 (6 Jan 2003 08:47:04 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 6 Jan 2003 08:47:04 GMT