Bug #5069 [NEW]: XML_Transformer documentation incorrecty describes non-existant method
| From: | mark dot meves at gmail dot com | Date: | Thu, 11 Aug 2005 17:58:20 +0000 |
| Subject: | Bug #5069 [NEW]: XML_Transformer documentation incorrecty describes non-existant method | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-6644@lists.php.net to get a copy of this message | ||
From: mark dot meves at gmail dot com
Operating system: n/a
PHP version: 5.0.5
Package: Documentation
Bug Type: Bug
Bug description: XML_Transformer documentation incorrecty describes non-existant method
Description:
------------
XML_Transformer documentation incorrecty describes non-existant method
"start()"
I assume this method was removed in a
previous version of the package.
For version 1.1.0 (stable) of that package.
the following code:
$oTransformer = new XML_Transformer($aTransformerArgs);
$oC = new ReflectionClass($oTransformer);
$aMeths = $oC->getMethods();
echo "methods of class ".get_class($oTransformer).": \n";
foreach($aMeths as $oMeth){
echo $oMeth->getName()."\n";
}
die('done');
/* outputs:
methods of class XML_Transformer:
XML_Transformer
canonicalize
overloadNamespace
unOverloadNamespace
isOverloadedNamespace
sendMessage
setCaseFolding
setCollapsingOfEmptyTags
setDebug
setLogTarget
setRecursiveOperation
stackdump
transform
_startElement
_endElement
_characterData
_autoload
_checkDebug
done
*/
note there is no "start()" method
Test script:
---------------
// see summary please
Expected result:
----------------
// please see summary
Actual result:
--------------
//please see summary
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=5069&edit=1
--