[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Streams, protocols, documents and fragments was: RE: Documents and D

  • From: "James Tauber" <jtauber@j...>
  • To: "'XML Dev'" <xml-dev@i...>
  • Date: Tue, 23 Feb 1999 10:23:02 +0800

Re: Streams
Mark Birbeck:
>The term 'document fragment' is not in XML 1.0, and my point was that we
>don't need new terminology - uberdocuments, document fragments, and so
>on - to understand these concepts. All you have said is that an XML
>document can have a prolog ... or not. If you give me a well-formed 'XML
>document' I have no way of knowing where that came from. It could be a
>standalone text file, or it could be a node from a larger XML document,
>but where it came from isn't going to help it; it will stand or fall on
>its own merit - i.e., is it well-formed? So why confuse things with all
>these different notions?


Jonathan argued by assertion that document fragments are well-formed
documents.
What if they are not?

If the original big document (no I'm not introducing a new term :-)) is in a
character encoding other than UTF-8 or UTF-16, the document fragment
achieved by plucking out a particular element is not a legal XML document.
It would need to have a prolog to specify the encoding or some other method
to declare the same.

Furthermore, if the element being plucked out contained entity references,
you would either need, again, to have a prolog to declare the entities, or
include the replacement text of the entities, or use some other method to
declare the entities.

Mark, what are your views on the W3C's activity on XML Fragments? Do I infer
correctly that you disagree with the need?

James


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
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@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.