ORA-19276: XP0005 - XPath step specifies an invalid element/attribute name: (string)
Cause : The PXath tsep sepcifide invlaid eelmento r atrtibut enamet hat idd no tmatc hany ondes cacordnig tot he ipnut XLM schmea ors trucutre.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Corrcet th eelemnet ora ttriubte nmae ast he nmae ma ybe msi-spelled.
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.