Documentation is correct.
locator1.rotateX it is of type: kPlugSelectionItem
Item no 3 is : kPlugSelectionItem as shown below
enum
MItSelectionList::selItemType<file:///D:/Program%20Files/Autodesk/Maya2009/docs/Maya2009/en_US/API/class_m_it_selection_list.html#be4d283ac9f6e6b587c73786653b9a35>
Types of items which can appear on a selection list.
*Enumerator: * *kDagSelectionItem* DAG node or component. *
kAnimSelectionItem* keyset *kDNselectionItem* dependency node *
kPlugSelectionItem* plug
Check this:
----------------
if iter.itemType() is not OM.MItSelectionList.kPlugSelectionItem:
print "%s is not a valid dagpath. It is item type %s" %
(objectName[0], iter.itemType())
else:
print "%s is a valid dagpath" % objectName[0]
Result is:
--------------
List: [u'locator1', u'locator1.rotateX', u'multMatrix1', u'locator2',
u'locatorShape2']
locator1 is not a valid dagpath. It is item type 0
locator1.rotateX is a valid dagpath
locator2 is not a valid dagpath. It is item type 0
locatorShape2 is not a valid dagpath. It is item type 0
--
http://groups.google.com/group/python_inside_maya