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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Revised Internet-Draft: Media Feature - xmlns

[ Lists Home | Date Index | Thread Index ]

Mark Baker wrote:
> Streaming XML is a good example of where this would be a bad idea.
> If a processor hit the stream mid stride, it would have missed the
> namespace declarations.  

How can you process XML from anywhere other than the beginning? Not only
would you have missed entity references and potential namespace
declarations, you wouldn't know whether you were in the middle of a
CDATA section.

> ... The same issue applies to processing on small
> devices, where the beginning of larger documents may be discarded from
> memory before the document is finished processing.

Discarding the lexical text of the document is not the same as
discarding the namespace declarations. What small device would process
XML without being able to afford keeping a few hundred bytes for
namespace declarations from the beginning of a document to the end.

 Paul Prescod


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

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