[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: SAX: do we want a base class
David Ornstein wrote: > David Megginson wrote [10:39 AM 1/3/98 ]: > >I should clarify: the SAX interfaces and the XmlAppBase base class > >will be written only once for each programming language, and they will > >live in their own package (in languages that use packages). > >XmlAppBase will depend only on the interfaces for information -- in > >other words, there will be no such thing as a SAX-implementing parser > >without the base class (parser writers need not be concerned with the > >base class at all). > > Ahh. I was assuming that we were aiming to be able to have the SAX Client > and SAX Implemention be in different languages. The practical case I'm > thinking about is that I write in C++ and would like to be able to use the > Java-based Implementations. Assuming a platform (for example win32) that > provides interoperability at the interface level between multiple > languages, or really any language-neutral IDL-based mechanism, shouldn't > that be possible? > > I guess we should answer that question first. > > If we say that, yes, we want cross-language interoperability (and IDL?), > then I maintain my stand. If not, I quickly retract... > > David > > As long as SAX does not have any language dependent features from Java such as extending classes in the core Java API. I think it would be much better to just have an interface that does not extend anything, and then leave the implementation details (whether or not to use java.util.Dictionary or the new java.util.Map class in JDK 1.2). In fact, it would be great if this sort of stuff was defined in OMG IDL and even Microsoft IDL (for DCOM) if at all possible. There are many times where ORB's like CORBA provide a bridge between new applications which may use XML and legacy applications like databases which are too inconvenient to get at with just Java and JDBC. So again, why not just do all of this in IDL? Tyler xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|