Lists Home |
Date Index |
Bob Wyman wrote:
>Dennis Sosnoski wrote:
>>When dealing with the outside world many applications
>>want to use XML for all the standard reasons. In reality,
>>though, it's only the Infoset that they care about.
> The contention that "only the Infoset" really matters is one
>of the key sources of conflict between the two sides of the "binary vs
>text" debate. Supporters of binary encodings generally consider the
>primacy of the Infoset to be intuitively obvious. Those opposed to
>binary often argue that encoding is more important. This is, of
>course, downright baffling for the binary folk. Clearly, it isn't
>quite so intuitive or we wouldn't be having this discussion.
I think we're in agreement on the issues, but just want to clarify that
I'm not saying "only the Infoset" in a general sense. People often find
text XML documents much more accessible than an equivalent Infoset
representation. I do myself - given the choice between an XML editor
that gives an Infoset-like tree display and one that just does text with
smart tag handling I'll take the latter every time (jEdit is my favorite).
When it comes to an application taking XML input and doing something
with it, though, very few applications are concerned with anything other
than the Infoset (and the ones that *are* concerned about more than the
Infoset are XML tools). That's what I meant by my "only the Infoset"
statement, and I don't see how there's much grounds for disputing it in
that context (though I may be wrong... :-) ).