Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 69E7D9FA2E0 for ; Fri, 15 Dec 2006 02:37:44 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 71315-07 for ; Fri, 15 Dec 2006 02:37:39 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from lists.commandprompt.com (host-130.commandprompt.net [207.173.203.130]) by postgresql.org (Postfix) with ESMTP id 7B3369FA2A7 for ; Fri, 15 Dec 2006 02:37:39 -0400 (AST) Received: from [192.168.1.50] (or-67-76-146-141.sta.embarqhsd.net [67.76.146.141]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id kBF6bSGU006188 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 14 Dec 2006 22:37:29 -0800 Subject: Re: Authoring Tools WAS: Switching to XML From: "Joshua D. Drake" To: David Fetter Cc: Tom Lane , Scott Marlowe , josh@agliodbs.com, pgsql-docs@postgresql.org, Bruce Momjian , Peter Eisentraut , Guillaume Lelarge In-Reply-To: <20061215061516.GB15481@fetter.org> References: <200612131714.kBDHEI800289@momjian.us> <200612141258.44479.josh@agliodbs.com> <1166131397.3243.181.camel@state.g2switchworks.com> <25332.1166132046@sss.pgh.pa.us> <20061215061516.GB15481@fetter.org> Content-Type: text/plain Organization: Command Prompt, Inc. Date: Thu, 14 Dec 2006 22:39:24 -0800 Message-Id: <1166164764.18226.53.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.5, clamav-milter version 0.88.5 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Thu, 14 Dec 2006 22:37:30 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/161 X-Sequence-Number: 4084 > > 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