ORA-20100: Error Occurred While Parsing -- When Using Event Driven API (Doc ID 290047.1)

Last updated on JULY 05, 2016

Applies to:

Oracle Reports Developer - Version 9.0.2.0 to 11.1.1.4.0 [Release 9i to 11g]
Information in this document applies to any platform.
***Checked for relevance on 20-DEC-2012***

Symptoms

Using <Note:199743.1> create packages for event driven publishing.
Then create package like the following for running reports :

create or replace procedure event_driven_report as
myPlist SRW_PARAMLIST;
myIdent SRW.Job_Ident;
BEGIN
myPlist := SRW_PARAMLIST(SRW_PARAMETER('',''));

srw.add_parameter(myPlist,'GATEWAY','http://<server>:<port>/reports/rwservlet');
srw.add_parameter(myPlist,'SERVER','test2');
srw.add_parameter(myPlist,'REPORT','test.rdf');
srw.add_parameter(myPlist,'USERID','scott/tiger@raghu');
srw.add_parameter(myPlist,'DESTYPE','mail');
srw.add_parameter(myPlist,'DESFORMAT','HTML');
srw.add_parameter(myPlist,'DESNAME','sdubey@oracle.com');
srw.add_parameter(myPlist,'SUBJECT','hello');
myIdent := srw.run_report(myPlist);
END;



But when you submit report using this procedure it errors with messages similar to the following example 1 :

ERROR at line 1:
ORA-20100: Error occurred while parsing: Attribute value should start with
quote.
ORA-06512: at "SYS.XMLPARSER", line 22
ORA-06512: at "SYS.XMLPARSER", line 91
ORA-06512: at "SCOTT.SRW", line 312
ORA-06512: at "SCOTT.SRW", line 803
ORA-06512: at "SCOTT.EVENT_DRIVEN_REPORT", line 15
ORA-06512: at line 1

Another example 2 is given here :

ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00243: element attribute value must be enclosed in quotes
Error at line 9

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms