Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ay02a-0001r3-Nt for pgsql-docs@arkaria.postgresql.org; Wed, 04 May 2016 16:52:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ay02Z-0007W7-F8 for pgsql-docs@arkaria.postgresql.org; Wed, 04 May 2016 16:52:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ay02Y-0007Va-Kj for pgsql-docs@postgresql.org; Wed, 04 May 2016 16:52:46 +0000 Received: from mout.kundenserver.de ([217.72.192.75]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84_2) (envelope-from ) id 1ay02R-0004Lq-Hv for pgsql-docs@postgresql.org; Wed, 04 May 2016 16:52:46 +0000 Received: from [192.168.178.26] ([84.165.197.170]) by mrelayeu.kundenserver.de (mreue102) with ESMTPSA (Nemesis) id 0MDPKv-1askqe1CbV-00GpOj for ; Wed, 04 May 2016 18:52:37 +0200 Subject: Re: Docbook 5.x To: pgsql-docs@postgresql.org References: <57179283.6080704@purtz.de> <20160503193441.GA61759@alvherre.pgsql> <572A0AD2.2070909@purtz.de> <572A1089.7030004@gmail.com> From: =?UTF-8?Q?J=c3=bcrgen_Purtz?= Message-ID: <572A28D4.6060702@purtz.de> Date: Wed, 4 May 2016 18:52:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <572A1089.7030004@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:UqxIfzdDTmNgKmu1Om8lli5M3/95na9AXZPecpIzrLIAW3LVsPy dW5h4Ng2Q8zIC/Z1QirGMYXV7i115X4t6M6cYjcqDTdunn6jnVsXPcR5P7uqa1/EmVGeV4W /+6EyzVmA9NM6Czm5CWDKO5AS22XOt0knLNrEO6sTwgawUo4BU6L36V3oVOMeWfAJTiRWg/ JZOkhwZ4+RYCSwCdldNww== X-UI-Out-Filterresults: notjunk:1;V01:K0:b/ksP1j72pI=:JyaTYst6BYpJ0nIYGRnEW1 1bWLgUcFTXF3i6wxsPwrGg/5lBut4jl9wP7A8xSXTevG0u5pzuyOToL9fQaPD95wiMSTeYKdg cl7G/P5So5ZVQku9j6RtSo6eVAVABw65P+nrEhR7MAxuEVdtamdYT60Q8ITyrUo2cawV5sYj4 qmW7ynuDHkGlRu5qMEJBTTqF2tEpeMj8ebRPhXc/4g80W3eoXKoK0ZvL7SDc0IkMU9dy9pmg+ mx3CkNd1WLEk6TE8qrVCxETQNkpew/xLVugpiYJ+waGGta1PHs2IVoLrfvmdmEI6s0I80BaLg 5grkk8Wpofo1UY3PVMwSL+KniaZz8E/sB2jqMNqUsK8wWy7Q8gHYxQN5lcsZm4h1ShecS4cR6 0nw9MyTkPoRA6qW+Hk4Przq9RAamnQfy+3nPRIZpz9gPo2Ipis6j2xufu33YFN1KrTRZES3M5 4LwjCX7fr3ZFnnBIYYsulYWvMGNXcb7jdZuQX1oJiXwKZI10Opu8mZEqzgVN3YgXdF3wIrNUw 8XA0eeueI1M1UftX7Id1iWNBSKih0nWuq5L2r1bGsoxPlJ7C2ZsOo2TKHgahm2CK5sw96HIPV qmVuV75RqVQXhD6IwtLGg2rOJGXcpr+QEoqS90pNF7vy5xiGcy752sx/mtCWIGAEjusj5zRfL k0HVU9aHAP15tUpsHa6fCkfu+S8rL/UWHS0jhOhQkzGs0OQHkFH+y1czYeIUy/U2gPz11lF1G tV+OeL2wpM2+qbiI X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org On 04.05.2016 17:08, Alexander Law wrote: > As was stated in the aforementioned thread, solution 2 can be much > (8x) faster with some xslt optimizations, but I think now we should > outline some roadmap before we start to prepare patches and so. > Maybe we should convert to XML with DocBook4 at first step? > Then, once we get everything stabilized, we can upgrade to DocBook5. > Shouldn't we decompose the conversion procedure, so we could perform > fully automatic conversion without any manual changes, and then fix > non-valid situations, you described before? Hello Alexander, I havn't seen your xslt optimization so far. What have you done? Where can I find the optimized script or a description? "Divide and conquer" is a good strategy and people use it in many cases. As you have stated, there are two major steps: from db4-sgml to db4-xml and from there to db5-xml. In parallel to the second one we shall migrate from dsl scripts to db5-xslt scripts. Your idea to go step by step and stabilise at the intermediate level is good in general. But in this case it may be unnecessary. The first step is very small. It consists mainly of the elimination of shorttags and empty elements. This is a pure formal act without risk. If we would stop at this point, people are forced to switch their environment, eg .emacs from db4-sgml to db4-xml - and after the second step to db5-xml. This is possible - but the twice changing will bring (possibly) more confusion than advantages. The real challenge is the second step as it implies some manual modifications (entities, non-valid markup in sense of db5-schema) and a switch to a different output chain. Maybe we can live for a while with some files, which are not valid against db5-schema - as far as the output chain produces correct results. Jürgen Purtz -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs