Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 314669FA162 for ; Mon, 11 Dec 2006 16:41:42 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 97052-04 for ; Mon, 11 Dec 2006 16:41:41 -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 8F8669F9EED for ; Mon, 11 Dec 2006 16:41:41 -0400 (AST) Received: from [192.168.1.95] (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 kBBKfWls001294 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 11 Dec 2006 12:41:33 -0800 Subject: Re: Switching to XML From: "Joshua D. Drake" To: Tom Lane Cc: Peter Eisentraut , David Fetter , Guillaume Lelarge , Josh Berkus , pgsql-docs@postgresql.org In-Reply-To: <15400.1165867657@sss.pgh.pa.us> References: <4579720E.4000707@dawninglight.net> <200612101825.17409.peter_e@gmx.net> <1165773088.13210.62.camel@localhost.localdomain> <200612101907.13636.peter_e@gmx.net> <1165862891.19970.50.camel@localhost.localdomain> <15275.1165866833@sss.pgh.pa.us> <1165867152.19970.73.camel@localhost.localdomain> <15400.1165867657@sss.pgh.pa.us> Content-Type: text/plain Organization: Command Prompt, Inc. Date: Mon, 11 Dec 2006 12:43:27 -0800 Message-Id: <1165869807.19970.97.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]); Mon, 11 Dec 2006 12:41:38 -0800 (PST) X-Archive-Number: 200612/129 X-Sequence-Number: 4052 On Mon, 2006-12-11 at 15:07 -0500, Tom Lane wrote: > "Joshua D. Drake" writes: > > Secondly the make postgres.xml would be a one time thing. > > Agreed, the cost of conversion is one-time ... but it's not small. > Aside from getting the files themselves converted, there's the effort > for people to find, install, and learn suitable tools, not to mention > come up to speed on the differences between xml and sgml. (I assume > there are some significant ones, else why are we having this discussion?) Well this actually comes back to one of Peter's points :). You shouldn't need to update your tools. If you installed Docbook tools, it is going to come with DSSSL and XSL. OpenJade will process the XML as will any of the current db2, docbook2 etc.. scripts. As far as learning the differences between xml and sgml, they are very subtle because it is still Docbook. http://www.oreilly.com/catalog/docbook/chapter/book/appb.html http://www.docbook.org/tdg/en/html/ch02.html For most things that anyone would be doing, they will see extremely little difference. I didn't even notice the difference because I never used short tags. > The real problem here is that you've still failed to establish any > sizable benefit from converting. As best I can tell at the moment, > the acceptable options for editing XML will be about the same as they > are for SGML: emacs, and not a lot else. Well basically, editing :) any editor although some make it easier as I mentioned Emacs, BlueFish, Kate etc... The benefits are (in my mind): 1. At least some of our regionals are already using XML. Let's make it a little easier for them to do so. 2. It would make the new printed documentation project easier for David Blewitt (the guy that is doing it) 3. DocBook XML is where FOSS documentation is moving or has moved depending on the project. Should any project want to integrate any part of our docs to their docs or vice versa, it will be easier for them if we follow the similar standard of using Docbook XML. 4. Their is active and progressive development with XSL and Docbook. There is not (that I can see) the same level with DSSSL and Docbbok. 5. The format objects development (FOP) seems to be better maintained then the dblatex/db2latex/pdflatex stuff. FOP does not appear to work with SGML. 6. Nobody has really come up with a reason *not* to move to XML that can't easily be addressed. 7. And this may be ethereal but I do believe that if we were following in the footsteps of other FOSS projects we may be able to get writers from those projects. Even only 1 of them. > I don't really see why I > should have to start spelling out every closing tag for a no-op like > that. Fair enough but if you are using a decent editor, it will take care of that for you. To be honest. I do not care. I have zero preference to XML or SGML because I know them both. I do however care, when I have regionals and contributors trying to give to the community that are having difficulty doing so *because* we use SGML versus XML. It is enough for me, that I have PostgreSQLFR, Chile and the printed book project all clammoring for XML support to give more weight to their arguments. Each of the three have presented their specific problems with the SGML. Not to mention people such as Andrew Dunstan and the others. Maybe the people demand isn't the concern. Okay, but switching to XML is not hurting anyone. It's not like we are trying to change languages... only the DTD :) Sincerely, Joshua D. Drake > > regards, tom lane > -- === 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