[
Lists Home |
Date Index |
Thread Index
]
Bill de hÓra wrote:
> I wonder if the problem is not so much binary v XML, but the that XML trees
> are awkward enough datastructures to stream efficiently and require too
> much buffering. Even if you can pass it around binary Infosets, processors
> still have the root ndoe/element item to contend with. Perhaps the problem
> goes away when we stop insisting on sending large single XML documents
> around instead of a few smaller ones. There's a lot to be said for the
> packet and MIME worldviews.
Thinking of (and sending around only) AngleBracketedUnicodeText might also
help us to realize that it is not trees which we are streaming or otherwise
passing between processes. A tree is constructed on the output of parsing at
each processing node. Because the expertise and the intended function of each
node will differ, there is no reason to assume that it is a goal, or even
desirable, to construct at a receiving node the same tree which was
'serialized' by the sender.
Respectfully,
Walter Perry
|