Re: Changes to recode.xml

From: Date: Fri, 10 Nov 2000 06:42:05 +0000
Subject: Re: Changes to recode.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969332854@lists.php.net to get a copy of this message
Zak Greant writes: > Hello All, > > I have made a few changes to recode.xml and was hoping that someone with > experience could take a quick look at the changes and point out any errors > before I commit. > > My primary concern is area 45a46,51 The example looks fine to me. > Thank you! > > --zak How picky do we get to be? :) Anyway, most of what I'd change here is something that probably needs to be codified somewhere anyway. Such as... > < <funcdef>bool <function>recode_file</function></funcdef> > < <paramdef>int <parameter>input</parameter></paramdef> > < <paramdef>int <parameter>output</parameter></paramdef> > --- > > <funcdef>boolean <function>recode_file</function></funcdef> > > <paramdef>string <parameter>request</parameter></paramdef> > > <paramdef>resource <parameter>input</parameter></paramdef> > > <paramdef>resource <parameter>output</parameter></paramdef> 'bool' or 'boolean'? Both are used in the current function reference: 'boolean' 27 times; 'bool' 77 times. I think we should write down somewhere which is officially preferred. > 93,94c100,101 > < request. Returns FALSE, if unable to comply, TRUE > < otherwise. > --- > > <parameter>request</parameter>. Returns FALSE, if unable to > > comply, TRUE otherwise. > 99a107,116 > > <para> > > <example> > > <title>Basic <function>recode_file</function> > > example:</title> Really picking nits now. :) The <title>s for <example>s don't get semicolons at the end. > > <programlisting role="php"> > > $input = fopen ('input.txt', 'r'); > > $output = fopen ('output.txt', 'w'); > > recode_file (&quot;us..flat&quot;, $input, $output); > > </programlisting> > > </example> > > <para> This here is the only parse error. That should be a </para>. That's all I could find from a technical standpoint. -- +----------------------------------------------------------------+ |Torben Wilson <torben@php.net> Netmill iTech| |http://www.coastnet.com/~torben http://www.netmill.fi| |Ph: 1 250 383-9735 torben@netmill.fi| +----------------------------------------------------------------+

« previous php.doc (#969332854) next »