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

Re: Keyword substitution on Word Doc

From: Fraser Campbell <fraser_at_wehave.net>
Date: 2003-07-26 02:48:35 CEST

On July 25, 2003 04:28 pm, Sindbad the Seafarer wrote:

> OpenOffice would not hinder SVN makers. However, as XML is a
> tagged language like HTML I'd expect that an app saying to save in
> XML then it saves in plain tagged text and not in something that in

OpenOffice documents are pure XML. If you're interested in learning the
format just read their DTDs, their source code or anything else. Here for
example is an Openoffice.org 1.0.3 document that I created:

    fraser@myserver:/tmp$ file document.sxw
    document.sxw: Zip archive data, at least v2.0 to extract

    fraser@myserver:/tmp$ gunzip -c < document.sxw
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE office:document-content PUBLIC "-//OpenOffice .... etc. ...

> its appearance is binary. IMHO this contradicts the purpose of
> XML. It's this letting me write "kind of" proprietary format. For the
> user still has to ask Does this word processor X read files saved
> with that word processor?

As someone has pointed out binary != proprietary. I would expect that if you
did some checking you'd find many example of binary file formats and binary
protocols that are completely free, open and documented. As far as I know,
it would be impossible for a true open source application to have a
proprietary storage format, you have the source, nothing is hidden.

To get this moderately on topic I would expect that with some custom
subversion hooks you could support keyword expansion in OOo files, just a
guess since I haven't looked at hooks yet.

-- 
Fraser Campbell <fraser_at_wehave.net>                 http://www.wehave.net/
Halton Hills, Ontario, Canada                             Debian GNU/Linux
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 26 02:49:26 2003

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

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