[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: SAX: do we want a base class

  • From: Tyler Baker <tyler@i...>
  • To: David Ornstein <davido@p...>
  • Date: Sun, 28 Sep 1997 20:01:06 -0400

java base classes


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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.