[darcs-devel] PatchPlugins / XML files

2008-02-07 Thread Allan Lyons
Hi,

On http://wiki.darcs.net/DarcsWiki/PatchPlugins there is discussion 
about different "atomic" patch types.  The page points out that test 
files are different from binary files and suggests that those two cases 
might be handled adequately.  It also points out that XML is different 
from both text and binary.  (XML is kind of like text but the file might 
have no line endings, patches really shouldn't break the 
well-formedness of documents, etc.)

I've looked, but so far I haven't seen whether anything like treating 
structured data like XML separately from text and binary has been 
attempted.  Is anyone else interested in this sort of thing?

Or has handling XML in darcs already been addressed and I just haven't 
seen it yet?

Thanks,

Allan.
___
darcs-devel mailing list
darcs-devel@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-devel


Re: [darcs-devel] PatchPlugins / XML files

2008-02-13 Thread Mark Stosberg
On Thu, 7 Feb 2008, Allan Lyons wrote:

> Hi,
>
> On http://wiki.darcs.net/DarcsWiki/PatchPlugins there is discussion
> about different "atomic" patch types.  The page points out that test
> files are different from binary files and suggests that those two cases
> might be handled adequately.  It also points out that XML is different
> from both text and binary.  (XML is kind of like text but the file might
> have no line endings, patches really shouldn't break the
> well-formedness of documents, etc.)
>
> I've looked, but so far I haven't seen whether anything like treating
> structured data like XML separately from text and binary has been
> attempted.  Is anyone else interested in this sort of thing?
>
> Or has handling XML in darcs already been addressed and I just haven't
> seen it yet?

Allan,

The functionality is not in darcs now,but it has been discussed before.
For example, here:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg03808.html

 Mark

-- 
http://mark.stosberg.com/


___
darcs-devel mailing list
darcs-devel@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-devel


Re: [darcs-devel] PatchPlugins / XML files

2008-02-14 Thread Allan Lyons
On Wed, Feb 13, 2008 at 09:10:40PM -0500, Mark Stosberg wrote:
> On Thu, 7 Feb 2008, Allan Lyons wrote:
> 
> > I've looked, but so far I haven't seen whether anything like treating
> > structured data like XML separately from text and binary has been
> > attempted.  Is anyone else interested in this sort of thing?
> >
> > Or has handling XML in darcs already been addressed and I just haven't
> > seen it yet?
> 
> The functionality is not in darcs now,but it has been discussed before.
> For example, here:
> 
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg03808.html

Thanks for the link.  It gives quite a bit of insite into how darcs is 
put together.

If I come up with something that works for arbitrary, valid XML, would 
anyone else be interested?

Allan.
___
darcs-devel mailing list
darcs-devel@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-devel


Re: [darcs-devel] PatchPlugins / XML files

2008-02-14 Thread Max Battcher
Allan Lyons wrote:
> If I come up with something that works for arbitrary, valid XML, would 
> anyone else be interested?

There's certainly quite a bit of interest in such work from what I've 
heard.  A particular scenario would be if you can generate light-weight 
patches for the large zipped XML files (ODF, some OOXML) that are much 
kinder than the current large binary patches for these files.  Albeit 
that brings up the issue of zip-transparent patch types, which have been 
debated but nothing yet has happened on that front either.

One issue to consider, however is the question of "valid".  Presumably 
you aren't talking about constraining to well-described schema (as in 
the XML world usage of "valid") and instead just mean syntactically 
valid.  Even then, David Roundry has expressed concern that even 
syntactically invalid documents may need to be expressed (consider an 
XML document in progress composed in a text editor and not syntactically 
validated until "finished"), so there'd need to be some sort of fallback 
mechanism in that case.

--
--Max Battcher--
http://www.worldmaker.net/
___
darcs-devel mailing list
darcs-devel@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-devel