Hi I have created one stored procedure

create or replace
PROCEDURE TEST1
(

PreDefinedTerms IN XMLTYPE


)
IS
ContractNumber NUMBER :=0;
BEGIN
--- inserting management contract


SELECT MAX(management_contract_id)ContractNumber
INTO ContractNumber
FROM management_contract;


-- inserting predefined terms
INSERT
INTO management_contract_terms
(
management_contract_term_id,
managemnet_contract_id,
term_id
)
SELECT Contract_Terms.nextval,
ContractNumber, extract(value(xmltable),'//TermID/text()').getnumberval() AS term_id
FROM TABLE(xmlsequence(extract(PreDefinedTerms,'/PredefinedTermValues/PredefinedTermValue')))xmltable;


COMMIT;



END TEST1;

//the value passing to it is



<PredefinedTermValues>
<PredefinedTermValue>
<TermID>1</TermID>
</PredefinedTermValue>
<PredefinedTermValue>
<TermID>3</TermID>
</PredefinedTermValue>
</PredefinedTermValues>



// the error

PLS-00130 : encontered the symbol"-" when excepting one of the following
begin case declare exit for goto if loop mod null pragma raise return selecet update while with < an identifier >

can any one help me in this

Thankx In advance