- From: Julian Reschke <julian.reschke@gmx.de>
- Date: Fri, 13 Jul 2001 17:22:12 +0200
- To: "Elliotte Rusty Harold" <elharo@metalab.unc.edu>, <xml-dev@lists.xml.org>
- Cc: <www-xml-blueberry-comments@w3.org>
And why would an XSLT processor be required to wait writing output until the whole result document is finished? In some cases, it can even start producing output without having read the complete input document... > -----Original Message----- > From: Elliotte Rusty Harold [mailto:elharo@metalab.unc.edu] > Sent: Friday, July 13, 2001 5:14 PM > To: xml-dev@lists.xml.org > Cc: www-xml-blueberry-comments@w3.org > Subject: RE: Well-formed Blueberry > > > At 4:59 PM +0200 7/13/01, Julian Reschke wrote: > >Although I like the idea of not producing "blueberry" when "1.0" > would have > >done: how would you *produce* these documents? > > > >For instance, how would an XSLT processor whether certain name characters > >will appear later in the output or not? > > > > An XSLT processor is a tree-to-tree transformation. The XML > declaration is not part of the tree. It is produced only as part > of the final, optional serialization of the document. Assuming > the Blueberry declaration is part of the XML declaration, it > would not be chosen until the entire output tree was available > for inspection so that the presence or absence of Bluebbery > characters could be definitively ascertained. > -- > > +-----------------------+------------------------+-------------------+ > | Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer | > +-----------------------+------------------------+-------------------+ > | The XML Bible, 2nd Edition (Hungry Minds, 2001) | > | http://www.ibiblio.org/xml/books/bible2/ | > | http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/ | > +----------------------------------+---------------------------------+ > | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | > | Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/ | > +----------------------------------+---------------------------------+ > > ------------------------------------------------------------------ > The xml-dev list is sponsored by XML.org, an initiative of OASIS > <http://www.oasis-open.org> > > The list archives are at http://lists.xml.org/archives/xml-dev/ > > To unsubscribe from this elist send a message with the single word > "unsubscribe" in the body to: xml-dev-request@lists.xml.org >
Received on Friday, 13 July 2001 11:22:17 UTC