[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: Sindbad the Seafarer <sindbad.the.seafarer_at_gmx.net>
Date: 2003-07-26 19:03:07 CEST

As someone pointed out to me off-list OO makes its doc files
archives to contain in one user-friendly file all stuff like scripts and
images the user has put into his text, therefore the binary format.
As I neither use OO nor like such office packs at all I could just
post to the thread what I recently read at openoffice.org: that their
docs are XML. As I now understand this is true for the doc itself but
due to the resulting OO archive-format file not in a way directly
accessible to other apps working on plain text like SVN. It's correct
that binary not necessarily means proprietary, however, I saw XML
as plain tagged text. If this could be accessed within the OO
archive by scripts is beyond my horizon as I am not a programmer
and just do the very first steps in SVN. As Garrett is right this
should close this off-topic thread as far as others can't add ideas to
hooks etc.

Jan Hendrik

Concerning Re: Keyword substitution on Word Do
Fraser Campbell wrote on 25 Jul 2003, 20:48, at least in part:

> 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
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 26 19:01:35 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.