<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2448.0">
<TITLE>RE: Streaming XML (Was RE: XML Information Set Requirements, W3C         Note 18-February-1999)</TITLE>
</HEAD>
<BODY>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">How about defining a streaming or cursor DTD </FONT>
</P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Example instance</FONT>
</P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><cursor xmlns="somecursornamespace ...></FONT>
<BR> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><rowset xmls:ns="yourrowsetnamespace" ....></FONT>
<BR> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><ns:ticker ...</FONT>
<BR> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><ns:ticker..</FONT>
<BR> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><ns:ticker ..</FONT>
<BR> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">...</FONT>
<BR> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><ns:ticker ...</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> </rowset></FONT>
<BR> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><continue></FONT>
<BR> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><link xml:link="simple" name="more" href="someURItogetthenexttickers"/></FONT>
<BR> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial"></continue></FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"></cursor></FONT>
</P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">I</FONT>
</P>
<P><FONT SIZE=1 FACE="Arial">-----Original Message-----</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">From: </FONT></B> <FONT SIZE=1 FACE="Arial">Matthew Sergeant (EML) [SMTP:Matthew.Sergeant@eml.ericsson.se]</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">Sent: </FONT></B> <FONT SIZE=1 FACE="Arial">Tuesday, February 23, 1999 10:47 AM</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">To: </FONT></B> <FONT SIZE=1 FACE="Arial">'Mark Birbeck'; XML Dev</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">Subject: </FONT></B> <FONT SIZE=1 FACE="Arial">RE: Streaming XML (Was RE: XML Information Set Requirements, W3C Note 18-February-1999)</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">> -----Original Message-----</FONT>
<BR><FONT SIZE=2 FACE="Arial">> From: Mark Birbeck [SMTP:Mark.Birbeck@iedigital.net]</FONT>
<BR><FONT SIZE=2 FACE="Arial">> </FONT>
<BR><FONT SIZE=2 FACE="Arial">> John Cowan wrote:</FONT>
<BR><FONT SIZE=2 FACE="Arial">> > Mark Birbeck wrote:</FONT>
<BR><FONT SIZE=2 FACE="Arial">> </FONT>
<BR><FONT SIZE=2 FACE="Arial">> > > <stockPrice></FONT>
<BR><FONT SIZE=2 FACE="Arial">> > > <ticker>MSFT</ticker></FONT>
<BR><FONT SIZE=2 FACE="Arial">> > > <price>1000</price></FONT>
<BR><FONT SIZE=2 FACE="Arial">> > > </stockPrice></FONT>
<BR><FONT SIZE=2 FACE="Arial">> > ></FONT>
<BR><FONT SIZE=2 FACE="Arial">> > > and then at the end of the day, sending:</FONT>
<BR><FONT SIZE=2 FACE="Arial">> > ></FONT>
<BR><FONT SIZE=2 FACE="Arial">> > > </stockPrices></FONT>
<BR><FONT SIZE=2 FACE="Arial">> > > No-one so far in the discussion has argued that this is good XML -</FONT>
<BR><FONT SIZE=2 FACE="Arial">> > </FONT>
<BR><FONT SIZE=2 FACE="Arial">> > I so argue. It is well-formed, though not valid, XML.</FONT>
<BR><FONT SIZE=2 FACE="Arial">> </FONT>
<BR><FONT SIZE=2 FACE="Arial">> It's NOT well-formed until the end of the day, when you receive the</FONT>
<BR><FONT SIZE=2 FACE="Arial">> closing tag. Until that time 'stockPrices' is not a complete element,</FONT>
<BR><FONT SIZE=2 FACE="Arial">> and therefore not a complete XML document.</FONT>
<BR><FONT SIZE=2 FACE="Arial">> </FONT>
<BR><FONT SIZE=2 FACE="Arial">> > Validity inherently can't be checked until you've processed</FONT>
<BR><FONT SIZE=2 FACE="Arial">> everything.</FONT>
<BR><FONT SIZE=2 FACE="Arial">> </FONT>
<BR><FONT SIZE=2 FACE="Arial">> Nor can well-formedness.</FONT>
<BR><FONT SIZE=2 FACE="Arial">> </FONT>
<BR> <FONT SIZE=2 FACE="Arial">I don't want to argue this - just add a point.</FONT>
</P>
<P> <FONT SIZE=2 FACE="Arial">It really depends whether you're interested in proving the positive</FONT>
<BR><FONT SIZE=2 FACE="Arial">or the negative. If you're trying to prove that it is well formed you're</FONT>
<BR><FONT SIZE=2 FACE="Arial">SOOL until the end. But at least you can prove that it's not-not well formed</FONT>
<BR><FONT SIZE=2 FACE="Arial">so far in the stream... It's a compromise I guess.</FONT>
</P>
<P> <FONT SIZE=2 FACE="Arial">Still - I agree with your general point. What would be better would</FONT>
<BR><FONT SIZE=2 FACE="Arial">be a stream of XML documents - like network packets - fully self contained.</FONT>
</P>
<P> <FONT SIZE=2 FACE="Arial">Matt.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">xml-dev: A list for W3C XML Developers. To post,<U> </U></FONT><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><A HREF="mailto:xml-dev@ic.ac.uk">mailto:xml-dev@ic.ac.uk</A></FONT></U>
<BR><FONT SIZE=2 FACE="Arial">Archived as:</FONT><U> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><A HREF="http://www.lists.ic.ac.uk/hypermail/xml-dev/" TARGET="_blank">http://www.lists.ic.ac.uk/hypermail/xml-dev/</A></FONT></U><FONT SIZE=2 FACE="Arial"> and on CD-ROM/ISBN 981-02-3594-1</FONT>
<BR><FONT SIZE=2 FACE="Arial">To (un)subscribe,</FONT><U> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><A HREF="mailto:majordomo@ic.ac.uk">mailto:majordomo@ic.ac.uk</A></FONT></U><FONT SIZE=2 FACE="Arial"> the following message;</FONT>
<BR><FONT SIZE=2 FACE="Arial">(un)subscribe xml-dev</FONT>
<BR><FONT SIZE=2 FACE="Arial">To subscribe to the digests,</FONT><U> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><A HREF="mailto:majordomo@ic.ac.uk">mailto:majordomo@ic.ac.uk</A></FONT></U><FONT SIZE=2 FACE="Arial"> the following message;</FONT>
<BR><FONT SIZE=2 FACE="Arial">subscribe xml-dev-digest</FONT>
<BR><FONT SIZE=2 FACE="Arial">List coordinator, Henry Rzepa (</FONT><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><A HREF="mailto:rzepa@ic.ac.uk">mailto:rzepa@ic.ac.uk</A></FONT></U><FONT SIZE=2 FACE="Arial">)</FONT>
</P>
</BODY>
</HTML>