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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: Streaming XML (Was RE: XML Information Set Requirements, W3C Note 1

[ Lists Home | Date Index | Thread Index ]
  • From: "Hutchison, Nigel" <nwoh@software-ag.de>
  • To: 'Mark Birbeck' <Mark.Birbeck@iedigital.net>, XML Dev <xml-dev@ic.ac.uk>
  • Date: Tue, 23 Feb 1999 14:44:11 +0100

Title: RE: Streaming XML (Was RE: XML Information Set Requirements, W3C Note 18-February-1999)

How about defining a streaming or cursor DTD

Example instance

<cursor xmlns="somecursornamespace ...>
        <rowset xmls:ns="yourrowsetnamespace" ....>
                <ns:ticker ...
                <ns:ticker..
                <ns:ticker ..
                ...
                <ns:ticker ...
            </rowset>
        <continue>
                <link xml:link="simple" name="more" href="someURItogetthenexttickers"/>
        </continue>
</cursor>

I

-----Original Message-----
From:   Matthew Sergeant (EML) [SMTP:Matthew.Sergeant@eml.ericsson.se]
Sent:   Tuesday, February 23, 1999 10:47 AM
To:     'Mark Birbeck'; XML Dev
Subject:        RE: Streaming XML (Was RE: XML Information Set Requirements, W3C         Note 18-February-1999)

> -----Original Message-----
> From: Mark Birbeck [SMTP:Mark.Birbeck@iedigital.net]
>
> John Cowan wrote:
> > Mark Birbeck wrote:
>
> > >    <stockPrice>
> > >        <ticker>MSFT</ticker>
> > >        <price>1000</price>
> > >    </stockPrice>
> > >
> > > and then at the end of the day, sending:
> > >
> > >    </stockPrices>
> > > No-one so far in the discussion has argued that this is good XML -
> >
> > I so argue.  It is well-formed, though not valid, XML.
>
> It's NOT well-formed until the end of the day, when you receive the
> closing tag. Until that time 'stockPrices' is not a complete element,
> and therefore not a complete XML document.
>
> > Validity inherently can't be checked until you've processed
> everything.
>
> Nor can well-formedness.
>
        I don't want to argue this - just add a point.

        It really depends whether you're interested in proving the positive
or the negative. If you're trying to prove that it is well formed you're
SOOL until the end. But at least you can prove that it's not-not well formed
so far in the stream... It's a compromise I guess.

        Still - I agree with your general point. What would be better would
be a stream of XML documents - like network packets - fully self contained.

        Matt.

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