From owner-freebsd-doc@FreeBSD.ORG Mon Aug 20 16:49:21 2012 Return-Path: Delivered-To: doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A19BD1065672; Mon, 20 Aug 2012 16:49:21 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.mypc.hu (server.mypc.hu [87.229.73.95]) by mx1.freebsd.org (Postfix) with ESMTP id 1A0748FC17; Mon, 20 Aug 2012 16:49:20 +0000 (UTC) Received: from server.mypc.hu (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id 5B66114E7F54; Mon, 20 Aug 2012 18:49:10 +0200 (CEST) X-Virus-Scanned: amavisd-new at server.mypc.hu Received: from server.mypc.hu ([127.0.0.1]) by server.mypc.hu (server.mypc.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id elUo7ql13rEn; Mon, 20 Aug 2012 18:48:56 +0200 (CEST) Received: from [192.168.1.101] (D94162B4.catv.pool.telekom.hu [217.65.98.180]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by server.mypc.hu (Postfix) with ESMTPSA id 8DD2714E7EFC; Mon, 20 Aug 2012 18:48:56 +0200 (CEST) Message-ID: <50326A70.5020009@FreeBSD.org> Date: Mon, 20 Aug 2012 18:48:48 +0200 From: Gabor Kovesdan User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: doc@FreeBSD.org, www@FreeBSD.org X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: doceng@FreeBSD.org Subject: [CALL FOR REVIEW] doc and www converted to XML X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Aug 2012 16:49:21 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear Folks, I'm glad to announce that the first milestone of the XML migration is available for review in the projects/sgml2xml branch. To check it out, run the following: svn co http://svn.freebsd.org/doc/projects/sgml2xml sgml2xml The build process - from the end user perspective - works in the same way. In short, use make all at the proper place, to build only web, run make all WEB_ONLY=yes in the htdocs dir, etc. Then use make install with DESTDIR defined to install files to the proper place. A rendered version of the website is available here: http://people.freebsd.org/~gabor/xmlweb/data/ For the documentation, you can directly go to: http://people.freebsd.org/~gabor/xmlweb/data/doc/ This branch includes the following changes: - - Documentation is updated from DocBook 4.1/SGML to DocBook 4.2/XML - - Webpages are updated from HTML 4.01 Transitional to XHTML 1.0 Transitional - - Static webpages are now processed by XSLT behind the scenes - - Webpages are now built with less cycles; tidy has been removed and the date processing is now done by XSLT - - Generated webpages are now actually valid (they did not use to be) - - All XSLT stylesheets now pull in a main XSLT, which reduces duplicated markup - - Site map and index are converted to an XML format with an XSLT transformation that generates the output - - For docs, there is now only one entity set for both articles and books - - Some trademark/legalnotice entities have been merged to a cohesive single entity file - - Untranslated entity sets are now always pulled in from the English tree instead of redundant copies - - The base and enbase entities are already automatically generated so remove inline definitions from individual files - - Fetch the LEGAL file via http instead of depending on CVS - - Convert id names to lowercase to avoid mixing different styles and for better readability - - All PSGML comments are removed since they are mostly useless As it has been discussed, the character entities will be dropped. This is still in progress but it is already a good moment for the rest to be reviewed since it is a big change that needs proper review and testing. At the same time, this also means that it is not easy to maintain such a big changeset in a branch since merging so many files is really time-consuming so it would be beneficial not to spend more time with merging this back than necessary. I would like to ask you to review this changeset and let me know any type of problems you encounter or any type of doubts you have. It would be nice if all translator projects could check their translations to see if there is any locale-specific problem. Despite the big quantity of the changes, the modernization process of the doc tree is not complete with this change. First, we still use Jade and DSSSL to generate output, which is an SGML tool and works because of the fact that XML is a subset of SGML. But it does not really benefit of XML technologies and the DocBook DSSSL stylesheets are quite obsolete. In a second step, we should migrate to an XSL(T)-based toolset. Secondly, the DocBook 4.2 schema is quite old, the current DocBook version is 5.0. But 4.2 is the first XML version and it still works well with the old DSSSL stylesheets so this was a safe migration path that gives us more time for the migration and for QA. Once this branch is merged back, the migration of the toolset will be started in another branch. Thanks in advance for your review. Regards, Gabor (On behalf of doceng@) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAyanAACgkQkC3QTyNzprGWhACfVzoyEb/WvXkiFn3cGIaCdEdU GzIAoL9AUJzc8WtNPyxH6PZnNKbvwUXA =i60i -----END PGP SIGNATURE-----