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


Help: OASIS Mailing Lists Help | MarkMail Help



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

[ Lists Home | Date Index | Thread Index ]

On Thu, 2004-12-30 at 21:54 +0000, Miles Sabin wrote:
> Uche Ogbuji wrote,
> > SAX says nothing that prevents temporally simultaneous events.
> If it doesn't that's a bug in the docs and should be fixed.
> The runtime nesting of SAX event callbacks mirrors the structure of the 
> real or virtual document being parsed. Simultaneous events would imply 
> superimposed nodes ... which ain't possible.

I could buy this, but I don't see why I have to.  One could also claim
that the letter of SAX2 makes the way it's implemented in Python
illegal, but I suspect they would be rightly ignored.

I don't see why a parallelized streaming architecture could not be
expressed in terms of SAX events.  Perhaps you could persuade me SAX
does not allow it, but I expect that this would be only by admitting to
precious and entirely unnecessary restrictions in the definition of SAX.

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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS