[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Autoexpanding ZIP archives?

From: John Peacock <jpeacock_at_rowman.com>
Date: 2005-12-07 23:11:47 CET

Greg Hudson wrote:
> Would these generate the exact same target file, byte for byte? If not,
> they're probably not suitable for the job.

No, I believe they would produce the corresponding changes to transform
the source to the target. Any xmldiff program that could be used within
Subversion would be a "XML context-sensitive diff" as opposed to GNU
diff or Subversion's internal diff which is a "line sensitive diff" right?

> Even if we did allow fudging of the target file, I'm not sure it's safe
> to reorder attributes or sub-elements of an XML file,

My understanding (and I'd be more than happy to be corrected) was that
depending on the XML, there were certain bits that could be rearranged
and still be "equivalent" and other bits that couldn't. This was above
and beyond the "</tag> vs <tag></tag>" equivalence.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 7 23:15:44 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.