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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAXPP / fragment processing

[ Lists Home | Date Index | Thread Index ]
  • From: Stefan Haustein <stefan.haustein@trantor.de>
  • To: Paul Miller <stele@fxtech.com>
  • Date: Fri, 24 Dec 1999 03:10:08 +0100

Paul Miller wrote:
> 
> > > written a C version; I'm stuggling with defining interfaces
> > > for a Java version.
> 
> > Ups, meanwhile I have the thing working... Maybe we can harmonize the
> > interfaces, you'll find my suggestion
> > http://www.trantor.de/saxpp/doc
> 
> My design is somewhat different. You can see how it works in the list
> archives (or check out the sample C++ code at
> http://www.fxtech.com/xmlio/. Basically you register interest in certain
> elements, and can specify a callback for each, where you can then
> register new handlers for the sub-elements at that scope, and so on. You
> can also register element handlers for intrinsic types (such as ints,
> lists, booleans, strings, floats, etc) where it just plugs the

So if I understand you right your parser is still a (more elaborated)
push parser. 
My intension was to build something that is more similar to a java
reader. Something I
can hand over to another part of the program, reading its part, and
after that
the main program continues pulling the events left. 

best regards

Stefan

-- 
KJAVA AWT project: www.trantor.de/kawt
SAX-based access to WBXML and WML: www.trantor.de/wbxml

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/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe 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