Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Problem using xml parser for pl/sql

Problem using xml parser for pl/sql

From: <gelysosa_at_my-deja.com>
Date: Fri, 18 Feb 2000 16:28:50 GMT
Message-ID: <88jrvr$5s3$1@nnrp1.deja.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US