On 22/06/06, Philip Olson <[EMAIL PROTECTED]> wrote:

> On 6/22/06, Ben Ramsey <[EMAIL PROTECTED]> wrote:
>> ramsey          Thu Jun 22 03:04:36 2006 UTC
>>
>>   Added files:
>>     /phpdoc/en/reference/simplexml/functions
>>                                                 simplexml-element-
>> registerXPathNamespace.xml
>>
>>   Modified files:
>>     /phpdoc/en/reference/simplexml/functions
>>                                                 simplexml-element-
>> getDocNamespaces.xml
>>                                                 simplexml-element-
>> getNamespaces.xml
>>                                                 simplexml-load-
>> file.xml
>>                                                 simplexml-load-
>> string.xml
>>   Log:
>>   Added SimpleXML->registerXPathNamespace, and added ns and prefix
>> parameters to simplexml_load_file() and simplexml_load_string().
>
> Since when are those parameters available? 5.2?
> -Hannes

Also, all phpdoc filenames should be lowercase.

Regards,
Philip


Bullet 3 of http://doc.php.net/php/dochowto/chapter-conventions.php states:

"Unlike function reference IDs method reference IDs are
case-sensitive. Special operators ::, -> and underscores are replaced
by the same minus signs (-). For example
function.DOMCharacterData-deleteData  is an ID for
DOMCharacterData->deleteData and function.ArrayObject-constructor  is
for ArrayObject::__constructor  method accordingly. Note an exception
when operators ::  and -> followed by two underscores are replaced
with one minus sign (-)."

... which I interpreted for the PDO docs as meaning that the reference
IDs should be camelCase. And I believe xml_proto.php "interprets" the
coding convention that way as well, to the point of generating
camelCase filenames. Note that the coding conventions don't actually
specify any requirements for file names.

So it's not clear to me that Ben is in the wrong here.

Dan

Reply via email to