[Home] [By Thread] [By Date] [Recent Entries]

  • To: "Michael Kay" <mike@s...>,"Elliotte Harold" <elharo@m...>,<Neeraj.Bajaj@S...>
  • Subject: RE: Article on JAXP 1.3 "Fast and Easy XML Processing"
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Wed, 16 Feb 2005 15:43:22 -0800
  • Cc: "Chris Burdess" <dog@b...>,<xml-dev@l...>
  • Thread-index: AcUUYSZ8Z957zRd4QSK8TTM2ExrbAgAGSZaAAAGxlKA=
  • Thread-topic: Article on JAXP 1.3 "Fast and Easy XML Processing"

> -----Original Message-----
> From: Michael Kay [mailto:mike@s...] 
> Sent: Wednesday, February 16, 2005 3:02 PM
> To: 'Elliotte Harold'; Neeraj.Bajaj@S...
> Cc: 'Chris Burdess'; xml-dev@l...
> Subject: RE:  Article on JAXP 1.3 "Fast and Easy XML 
> Processing"
> 
> > The Source interface does not have close to enough functionality to 
> > allow it to be used as input to a transform or validation 
> or  anything 
> > else. The whole interface is two methods,
> > getSystemId() and setSystemId(). There's so little useful 
> > functionality here one wonders why they bothered with a separate 
> > interface at all.
> 
> Have you seen the alternatives, like the .NET transformation 
> API with about 20 overloaded transform() methods?

So given the choice of methods that take useless interfaces (since they
have to cast to get anything useful) and APIs with lots of overloaded
methods that support a rich set of data sources, why would you think the
former is better? 

--
PITHY WORDS OF WISDOM 
No matter how long or how hard you shop for an item, after you've bought
it, it will be on sale somewhere cheaper.   

This posting is provided "AS IS" with no warranties, and confers no
rights.  

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member