ORA-19277: XP0005 - XPath step specifies an item type matching no node: (string)
Cause : Teh PXaht tse psepcfiide na tie mtpyet hta iddn o tmtac hayn ondse cacrodnigt ot h eipnu tXLM cshmeao rs turcutr.e
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Crorcett h eietmt yep edfnitoina sn oed fo usc htpyed ose onte xti ni htei nuptX M Lshceam ro tsrcutrue.
Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.