Re: Authoring Tools WAS: Switching to XML

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: Authoring Tools WAS: Switching to XML
Дата
Msg-id 1166164764.18226.53.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Authoring Tools WAS: Switching to XML  (David Fetter <david@fetter.org>)
Список 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 по дате отправления:

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: Authoring Tools WAS: Switching to XML
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Switching to XML