OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX: Document Start and End (question 1 of 10)

[ Lists Home | Date Index | Thread Index ]
  • From: "Don Park" <donpark@quake.net>
  • To: <xml-dev@ic.ac.uk>
  • Date: Mon, 5 Jan 1998 17:09:25 -0800

Whether the PI is before the doc or not, a typical SAX user would not know
nor care about the answer.  I would very much like to see a pair of methods
that are clearly known to be the first and the last callback methods for
initialization and cleanup purpose.  Also, I would like to see an opaque
handle to the document source passed to the startDocument method.

i.e.

  public void startDocument (Object source); // source can be URL, File,
InputStream, etc.

Many XML applications will be filter types and would not know what the
document source is.  One problem is that opaque Object trick does not
translate to other languages too well.

Don Park



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS