Re: Re: cvs: peardoc /en/package/caching/cache-lite/cache-lite-function
| From: | Greg Beaver | Date: | Thu, 29 Apr 2004 21:50:06 +0000 |
| Subject: | Re: Re: cvs: peardoc /en/package/caching/cache-lite/cache-lite-function | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-3782@lists.php.net to get a copy of this message | ||
XML_Beautifier fails instantly on any peardoc file, not because of a problem in XML_Beautifier, but because it uses sax parsing, and sax dies on *any* unknown entity.
I actually wrote a brand new parser/renderer duo that doesn't use sax and knows about <programlisting>, which is included in phpDocumentor. However, if you want to use the beautifier that will work and is bundled with phpDocumentor, you only need to examine the source for the peardoc2 converter, in the constructor and in writeFile() methods.
Greg
Fabien Marty wrote:
Yes. How extensive were the changes? Anything that could be better in the template?I added examples and more details. IMHO, "phpdoc comments" => peardoc2 can't be a completly automatic process. Yet, It's a wonderfull starting point ! So templates are really good. I was impressed of the first result. I'm going to try XML_Beautifier on the final peardoc2 files to get a better result. Thanks for your help,