🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Xerces + Mac + unmapped memory exception

#871
From: Sandy Martel
Date: Mon, 06 Jan 2003 15:35
26 lines
2022 bytes
Can you post some code that exhibit this behavior?

"RK" <rkchats@yahoo.com> wrote in message
news:389ca595.0301060047.4034bfed@posting.google.com...
> 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: <mnhS9.24040$Sd5.189006@weber.videotron.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!wesley.videotron.net!weber.videotron.net.POSTED!not-for-mail
References: <389ca595.0301060047.4034bfed@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,d5669dc6e8f7338c
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,d5669dc6e8f7338c
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2003-01-06 07:35:56 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!wesley.videotron.net!weber.videotron.net.POSTED!not-for-mail
From: "Sandy Martel" <sandy@toonboom.com>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
References: <389ca595.0301060047.4034bfed@posting.google.com>
Subject: Re: Xerces + Mac +  unmapped memory exception
Lines: 28
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <mnhS9.24040$Sd5.189006@weber.videotron.net>
Date: Mon, 6 Jan 2003 10:35:46 -0500
NNTP-Posting-Host: 216.46.26.42
X-Complaints-To: abuse@videotron.ca
X-Trace: weber.videotron.net 1041867346 216.46.26.42 (Mon, 06 Jan 2003 10:35:46 EST)
NNTP-Posting-Date: Mon, 06 Jan 2003 10:35:46 EST