S
Simon Krahnke
* Stefan Mahlitz said:Maybe this was a bad example. You are right, the xml-file would be best
treated by clearcase as application/xml or text/xml. This did not work
(and I was bitten by this recently - so this strange behaviour was fresh
when I read your email).
Note that Subversion would just treat the file as binary and process it
with its binary diff.
But I cannot see the problem with text-files containing long lines. If I
write a single paragraph with more than 1000 or 8000 characters - why
shouldn't this be text?
If that's really a paragraph there is no problem, except maybe of style.
(When wrapped in lines of 80 characters, it's 100 lines!)
Why do you think it is not readable?
I think that an XML file that has huge lines is unreadable since a
human wouldn't recognize any structure, when all the elements are on a
single line.
Sorry, I fail to see your point.
That's another point. Or actually two. The hard one being the limitation
of the software used: It may have a maximum line length.
Are we really judging whether a file is text by how much memory pages
a diff will take or how many characters a patch has?
No, this has nothing to do with being text, just with being well suited
as input to a diff algorithm.
Text usually is suited as well as everything else that is line oriented
and typical changes affect only one or a few neighboring lines.
mfg, simon .... l