Re: cvs: phpdoc /en/reference/simplexml/functions simplexml-element-getDocNamespaces.xml simplexml-element-getNamespaces.xml
simplexml-element-registerXPathNamespace.xml simplexml-load-file.xml simplexml-load-string.xml

From: Date: Mon, 26 Jun 2006 19:09:48 +0000
Subject: Re: cvs: phpdoc /en/reference/simplexml/functions simplexml-element-getDocNamespaces.xml simplexml-element-getNamespaces.xml
simplexml-element-registerXPathNamespace.xml simplexml-load-file.xml simplexml-load-string.xml
References: 1 2 3  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969373407@lists.php.net to get a copy of this message
On 22/06/06, Philip Olson <philip@roshambo.org> wrote:
On 6/22/06, Ben Ramsey <ramsey@php.net> 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

« previous php.doc (#969373407) next »