Re: API specs for suspend/resume capability
"Rob Lugt" <[email protected]> Mon, 3 Nov 2003 21:06:30 -0000
| Newsgroups | gmane.text.xml.sax.devel |
|---|---|
| Message-ID | <006e01c3a24e$5ac22e90$0a00a8c0@elcel001> |
Hi Karl, What would suspend() do? Where would you expect to call it from? I'm finding it hard to imagine a scenario where such a flag could be used, or what it would control. I guess you must be talking about a multi-threaded application - but I'm not too sure. Regards ~Rob ----- Original Message ----- From: "Karl Waclawek" <[email protected]> To: <[email protected]> Sent: Monday, November 03, 2003 2:32 PM Subject: [Sax-devel] API specs for suspend/resume capability > I would like to expose suspend/resume capability of a parser > through the SAX API, but there is currently no way within the specs. > > I was thinking like this: > > New method: XMLReader.Suspend() > New read-only property (boolean): XMLReader.Suspended > I would think it is more efficient to have this not accessed through > the property extension mechanism, as it may need to be accessed > frequently and would require a lookup by name every time. > New read-only feature: http://xml.org/sax/features/suspendable > > We are working with the Delphi version of the SAX API, but we would > like to be conformant with the original Java specs as much as possible, > should there be some interest to update the specs. > > Karl > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > List: sax-devel, [email protected] > See: http://www.saxproject.org/ > https://lists.sourceforge.net/lists/listinfo/sax-devel > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ List: sax-devel, [email protected] See: http://www.saxproject.org/ https://lists.sourceforge.net/lists/listinfo/sax-devel