Home » Developer & Programmer » JDeveloper, Java & XML » problem in dbms_XMLDom
problem in dbms_XMLDom [message #92807] Mon, 31 January 2005 21:39 Go to next message
ORA-31011: XML parsing fa
Messages: 2
Registered: January 2005
Junior Member
i am trying to generate a XML document within a procedure. the XML document (of DBMS_XMLDOM.DOMDocument type) will be return as an output parameter of the procedure. when i tried to create a new empty DOM document i encounter this error.

ORA-06502: PL/SQL: numeric or value error: raw variable length too long
ORA-06512: at "XDB.DBMS_XMLDOM", line 3637

my code looks like the following:
var xmltype;
dom1 := DBMS_XMLDOM.newDOMDocument(var);

even if i do just this
dom1 := DBMS_XMLDOM.newDOMDocument();

i get the same error.
this is occuring only in oracle It was working fine in

Pls. help.

Re: problem in dbms_XMLDom [message #468736 is a reply to message #92807] Mon, 02 August 2010 00:04 Go to previous messageGo to next message
Messages: 1
Registered: August 2010
Junior Member
I came across this error on 'Oracle Database 10g Release'.

Redeploying the standard oracle package DBMS_XMLDOM solved this error. The file I redeployed is <oraclehome>\product\10.2.0\db_1\RDBMS\ADMIN\catqm.sql.

Re: problem in dbms_XMLDom [message #468758 is a reply to message #468736] Mon, 02 August 2010 01:58 Go to previous message
Michel Cadot
Messages: 68417
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Thanks for the information.

Previous Topic: Use Ocx in jsf page using javascript
Next Topic: Io exception: SO Exception was generated
Goto Forum:

Current Time: Thu Mar 23 05:40:44 CDT 2023