API specs for suspend/resume capability

"Karl Waclawek" <[email protected]> Mon, 3 Nov 2003 09:32:38 -0500
Newsgroups gmane.text.xml.sax.devel
Message-ID <001501c3a217$55f39480$9e539696@citkwaclaww2k>
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