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

Re: Re: Streaming XML (WAS: More on taming SAX (was Re:[xml-de


python contenthandler
On Fri, 2004-12-31 at 01:31 +0000, Miles Sabin wrote:
> Uche Ogbuji wrote,
> > > Cross-platform? Who said anything about cross-platform? What you're
> > > suggesting would prevent interoperability between parsers on the
> > > same platform.
> >
> > You define "platform" however you like.  It's not relevant to the
> > issue. If I can't invoke a Python ContentHandler from a Java driver
> > while both are running on the same Fedora Core 3 Linux installation
> > (does that count as same platform?), why is this a lesser
> > interoperability failure than the possible inability to run a use a
> > parallelized driver with an arbitrary ContentHandler?
> 
> Hmm ... I have to say I'm not at all impressed with this response.

It's a good thing I wasn't trying to impress you.

> I'm saying that your creative but broken repurposing of the SAX APIs, 
> whether in their Java variant or their Python variant, would prevent 
> interoperability between parsers and ContentHandlers from different 
> implementors on the same platform _however_ defined.
> 
> Plug a standard Java ContentHandler into a Java parser with the 
> semantics you're proposing and it will almost certainly break.
> 
> Plug a standard Python ContentHandler (or whatever the equivalent is) 
> into a Python parser with the semantics you're proposing and it will 
> almost certainly break.
> 
> This is so blindingly obvious that I can only assume that you're 
> trolling ...

I can say the same thing for your own seeming inability to consider what
I see as the blindingly obvious premise that a SAX implementation that
was designed for parallelization would of course be primarily suited for
content handlers that were also designed for parallelization.  Using
your terminology, you could consider the parallel architecture itself a
platform, and the fact that parallel and non-parallel don't mix is no
more extraordinary than the fact that Java and Python implementations do
not mix.


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Use CSS to display XML - http://www.ibm.com/developerworks/edu/x-dw-x-xmlcss-i.html
Full XML Indexes with Gnosis - http://www.xml.com/pub/a/2004/12/08/py-xml.html
Be humble, not imperial (in design) - http://www.adtmag.com/article.asp?id=10286
UBL 1.0 - http://www-106.ibm.com/developerworks/xml/library/x-think28.html
Use Universal Feed Parser to tame RSS - http://www.ibm.com/developerworks/xml/library/x-tipufp.html
Default and error handling in XSLT lookup tables - http://www.ibm.com/developerworks/xml/library/x-tiplook.html
A survey of XML standards - http://www-106.ibm.com/developerworks/xml/library/x-stand4/
The State of Python-XML in 2004 - http://www.xml.com/pub/a/2004/10/13/py-xml.html


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.