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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: XML Information Set Requirements, W3C Note 18-February-1999

[ Lists Home | Date Index | Thread Index ]
  • From: Nathan Kurz <nate@valleytel.net>
  • To: xml-dev@ic.ac.uk
  • Date: Fri, 19 Feb 1999 15:12:33 -0600 (CST)

> Clark Evans writes:
> > Constantly viewing XML as a standard for the description 
> > of "data objects" and not "data streams" is a subtle, and 
> > important bias.  It is taking object-orientation too far 
> > and discarding parallel stream processing, and it's related
> > technologies like SAX and SAXON.

Jumping in on Clark's side, there does seem to be a strong bias for
using XML solely as a source for recreating pre-existing "data
objects".  This is a fine use, but seems unnecessarily limiting.

Michael Orr writes:
> For instance, is one aspect of your thinking a desire to chunk an
> "XML stream" so that validation can be performed incrementally,
> while still wishing the XML rec to govern the overall
> well-formedness (?) of the stream as a whole? Or is this totally off
> base? I'm groping to understand the point of view you're promoting
> here...

To me at least, validation isn't that important.  So long as the parts
I choose to parse are well-formed, I don't care if the whole stream is
well-formed.  And if the stream is continuous (for example, an XML
stock ticker) even the concept of a well-formed stream seems tenuous.

Objects seem to carry with them a requirement for full and faithful
representation.  Your first task is always to reconstitute the entire
'document' object to its pre-XML state (ie, parse the entire document
and build a complete object model).  This doesn't need to be the case,
of course, but it seems to be the default.

With a stream, one feels more free to pick and choose, keeping only
the parts that are relevant to the task at hand.  And better, you can
work with those parts as soon as you have them, as there is often no
need to wait for an entire object to be created.  For some reason,
working with a half-parsed object seems wrong.  Working with half a
stream seems perfectly natural.

All semantics, I suppose, but important ones.

Nathan Kurz

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


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

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