comp.lang.ada
 help / color / mirror / Atom feed
From: Emmanuel Briot <briot+spam@act-europe.fr>
Subject: Re: Stack overflow using Xml/Ada
Date: Wed, 21 Jul 2004 09:37:18 +0200
Date: 2004-07-21T09:37:18+02:00	[thread overview]
Message-ID: <pan.2004.07.21.07.37.17.532215@act-europe.fr> (raw)
In-Reply-To: MPG.1b67ac2ed32252929897d5@news.individual.net

On Tue, 20 Jul 2004 23:25:26 +0200, Jano wrote:
> I'm using the excellent Xml/Ada library to parse a file (incidentally, 
> created too with Xml/Ada). The problem is when I try to parse it back 
> into memory, since I get a stack overflow when calling the


This is a known issue with the current public release of XML/Ada,
fixed in customer releases. Using Direct_IO indeed has the limitation
you pointed out. The new version uses Ada.Sequential_IO instead.

You haven't specified on which platform you are, but if you are on
an allocate-on-use system, like linux, you want to unlimited the
stack size anyway, this gives you an immediate workaround
     unlimit stacksize

In passing, I am planning a new public release some time in
september/october, which will including validation capabilities.


Emmanuel



  reply	other threads:[~2004-07-21  7:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-20 21:25 Stack overflow using Xml/Ada Jano
2004-07-21  7:37 ` Emmanuel Briot [this message]
2004-07-21  8:02   ` Jano
2004-07-21  9:44   ` Georg Bauhaus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox