Re: Authoring Tools WAS: Switching to XML - Mailing list pgsql-docs

From Joshua D. Drake
Subject Re: Authoring Tools WAS: Switching to XML
Date
Msg-id 1166164764.18226.53.camel@localhost.localdomain
Whole thread Raw
In response to Re: Authoring Tools WAS: Switching to XML  (David Fetter <david@fetter.org>)
List pgsql-docs
> > What we need is something that does not change regions of the file
> > that the user did not intend to modify.  I think
> > horizonal-white-space-only changes could be worked around if the
> > user is careful to use diff --ignore-space-change when submitting
> > the patch, but I suspect that an editor that thinks it can mangle
> > whitespace will also figure that it can change line boundaries, and
> > then diff will never be able to extract any signal from that noise.
>
> Could post-processing with tidy clean this up?  I'm pretty sure that
> tidy's output is deterministic, at least if the editor hasn't mangled
> tags...
>

Yes tidy makes things pretty darn clean. However, there is one thing
that it won't do and that is remove extra tags. Thus something like
OpenOffice is still a no-op.

Joshua D. Drake

> Cheers,
> D
--

      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997
             http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate




pgsql-docs by date:

Previous
From: David Fetter
Date:
Subject: Re: Authoring Tools WAS: Switching to XML
Next
From: Peter Eisentraut
Date:
Subject: Re: Switching to XML