Homer said:
I am a little bit tired of this obsession people
have with XML and XML technology.
Bad call.
Please share your thoughts and let me know if I am
thinking in a wrong way.
Yes, you are.
I believe some people are over using XML all over
the place.
Nope, it's pretty much become the data encoding
method of choice purely on its merits.
Nowadays Canadian Government is pushing XML to its
organization as standard for data/file transfer.
Excellent! They are taking the appropriate steps to
avoid the universal experience of first world
governments in the sixth decade of computer handling
of government data, that files which are not
self-describing "go stale" and become
uninterpretable over long periods of time as
technologies supersede one another.
Anecdote: I once worked for/alongside the US
National Ocean Survey. The original survey
documents, from 1803, in paper RECORD logbooks
visually identical to ones you can purchase in a
stationery shop today, were still in use as active
data. At the same time, I was tasked with finding
some digital technology that would endure even half
a century. The sad conclusion was that at the time
(1975), no such techology existed. The point isn't
that DVDs have solved that problem (they haven't),
but that government records are still of interest
decades-to-centuries after they are first encoded.
Only self-describing documents have a prayer of
meeting that requirement.
Huge files moving between companies now include
tones of XML Tags repeating all over the file and
slowing down networks and crashing applications
because of size.
1) XML tags are highly redundant, so XML files,
compressed, are little larger than alternative
encoding techniques.
2) XML isn't guaranteed to be "legal" until the
whole document has been parsed, but that doesn't
prevent that the document is parsed as it is
received, and stored internally in some much more
compact format than the transmittal format. So,
if a program crashes trying to cope with an XML
document, that same document will overwhelm the
program in _any_ encoding.
3) Thus, your complaint is properly about large
document transmittal, not the XML encoding of
those documents.
I am not objecting to the whole technology. I know
advantages of XML and using it all the times for
Config files or our web oriented applications but
using it as standard for moving big files is going
too far.
Would it be a good guess that French rather than
English is your native language? Yeesh.
Anyway, despite that I myself put off learning XML
far too long, and still can't claim competence with
it, XML isn't just a fad, it is the wave of the
future.
HTH
xanthian.