Re: Migrating to DB5
| From: | Rudy Nappée | Date: | Fri, 06 Jun 2008 16:14:46 +0000 |
| Subject: | Re: Migrating to DB5 | ||
| References: | 1 2 3 4 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-10826@lists.php.net to get a copy of this message | ||
Hi !
I've done some tests with the migration script and the db4-upgrade.xsl transformation.
According to the official db4 to 5 conversion documentation, the files to convert have to be DB4 valid... But, all of them aren't valid. For example, when you cloak a referenced entity containing docbook elements, the xsl transformation will found text nodes instead of docbook elements, and will not process files correctly...
The only way to use db4-upgrade.xsl seems to be with an assembled unchunked xml file without entity references (else, entity contents will not be "upgraded"). Here is the assembled pear manual which can be -in theory - processed by the xsl transformation : http://iutinfoa1.free.fr/SoC/.manual_db43.xml . Unfortunately even the db5 resulting file isn't valid neither (there are less errors however)...
Dunno if I'm understandable. If not, please request more information !
Regards
Rudy
""Brett Bieber"" <brett.bieber@gmail.com> a écrit dans le message de groupe de discussion : efa010fb0806031347q568668ealb235c7ad8bff899a@mail.gmail.com...
On Tue, Jun 3, 2008 at 3:08 PM, Rudy Nappée <rudy.nappee@etu.u-bordeaux1.fr> wrote:My apologies, it was a misunderstanding... I hadn't actually see the "Peardoc move to docbook5" page on the pear wiki. I hope the changes I reported are helpful but I doubt on it... However, I'll begin to work on the migrating script. When it will be over (and when a PEAR PhD theme will be done), you'll be able to process PEARdoc with PhD.Ah, sorry... I probably shouldn't have put the code in the wiki as that's not the best place for it anyways. Thanks for all your work Rudy! -- Brett Bieber http://saltybeagle.com/