Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Problem using xml parser for pl/sql
I get the following error message while trying to parse a xml document
that is stored in a lob column.
Does anyone know what causes this error and how to fix it?
ORA-20120: ORA-20100: Error occurred while parsing: Start of root
element expected
ORA-06512: at "NEWS1.PLSQLXML_OLD", line 202
ORA-06512: at line 1
This is the code that generates the error:
DBMS_LOB.OPEN(lob_loc,DBMS_LOB.LOB_READWRITE);
-- parse input xml
xmlparser.parseClob(parser, lob_loc);
Before trying this code I was reading the xml from a file and was able to parse the xml without problems.
Thanks
Angelina
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Fri Feb 18 2000 - 10:28:50 CST
![]() |
![]() |