FW: svn:mime-type and */*+xml
From: Curtis G Pew <curtis.pew_at_austin.utexas.edu>
Date: 2004-05-14 15:31:59 CEST
Oops. Replied instead of sending to the list.
-- Curtis Pew (firstname.lastname@example.org) ITS - Systems The University of Texas at Austin > ---------- > From: Curtis G Pew > Sent: Friday, May 14, 2004 8:28 AM > To: 'Branko ?ibej' > Subject: RE: svn:mime-type and */*+xml > > From RFC 3023, page 16: > "Applications may match for types that represent XML MIME entities by comparing the subtype to the pattern '*/*+xml'." > > I don't agree with the post by Travis that XML documents can't be merged. It might cause problems in some instances, but I think in most cases any merge that would break the XML would be recognized as a conflict by the text merger. However, this did make me realize that a product like Subversion could benefit from treating XML specially. A Google search on "XML diff" turns up several XML-specific "diff" utilities that understand the hierarchical structure of XML. Should I submit this as an issue for a future feature? > > -- > Curtis Pew (email@example.com) > ITS - Systems > The University of Texas at Austin > > > ---------- > From: firstname.lastname@example.org > Sent: Friday, May 14, 2004 6:04 AM > To: Curtis G Pew > Cc: subversion mailing list (E-mail) > Subject: Re: svn:mime-type and */*+xml > > Curtis G Pew wrote: > > >The svn book says: > > > >" ... if a file's svn:mime-type property is set to a non-text MIME type (generally, something that doesn't begin with text/, though there are exceptions), Subversion will assume that the file contains binary-that is, not human-readable-data." > > > >So I was wondering if "*/*+xml" types were among the exceptions. In particular, I have a SVG file and I'm wondering if setting the MIME type to 'image/svg+xml' means Subversion will treat it like a binary file. > > > > > > Currently the only exceptions are image/x-xbitmap and image/x-xpixmap, > which are text formats. Is */*+xml (or even juust *+xml) actually a > precise enough pattern that we could use it? > > -- Brane > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: email@example.com For additional commands, e-mail: firstname.lastname@example.orgReceived on Fri May 14 15:32:41 2004
This is an archived mail posted to the Subversion Users mailing list.