Lists Home |
Date 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
> ... 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.