Re: Phd conversion / encoding issues

From: Date: Mon, 06 Oct 2008 18:36:11 +0000
Subject: Re: Phd conversion / encoding issues
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-11137@lists.php.net to get a copy of this message
Hi all, > I'm trying to find a way to convert the cdata sections on > reintegration. I did that now and it got better, but still not good enough. I don't think that I will have time to walk through all the issues of the different languages, I really need help here. If you have some time to spare, please choose a language and try to find out why they fail. Steps to reproduce: 1. Checkout peardoc 2. Copy the contents of phd-db5-conversion/ into peardoc's parent folder 3. Call "php pear_conversion.php" in peardoc's parent folder (takes 12 minutes for me) 4. A directory named "pearhd" should get created and the converted files be saved into it 5. Download http://tmp.cweiske.de/manual.xml and http://tmp.cweiske.de/configure.phps into pearhd. 5b. Copy authors.xml, global.ent, shortcut-defs.ent and version.ent from peardoc to pearhd. 6. Send a mail to peardoc to tell us you're investigating 7. Run "php configure.php --no-display-untranslated -l $lang" 8. Try to find out why libxml crashes. It is probably some file that doesn't have an encoding="" set in the header, so libxml doesn't know what to do and chooses the wrong encoding. Here are the language details: de configure works, 4 minor validation errors en works! es crash fr crash hu configure works, 2 ids not found ja configure works, bigger bunch of validation errors nl crash pl hard crash pt_BR works! ru configure does not work, xml errors tr works! sum: 3 languages work (en, pt_BR, tr) 2 languages with minor validation errors (de, hu) 1 language with many validation errors (ja) 1 language with serious xml errors (ru) 3 languages make libxml crash (es, fr, nl) 1 language does a hard crash (pl) -- Regards/Mit freundlichen Grüßen Christian Weiske -= Geeking around in the name of science since 1982 =-

Attachment: [application/pgp-signature] signature.asc
« previous php.pear.doc (#11137) next »