BI Publisher (MOSC)

MOSC Banner

FOProcessor issuing XML-20108: (Fatal Error) Start of root element expected.

edited Jan 29, 2014 12:00PM in BI Publisher (MOSC) 5 commentsAnswered

I have written a Java Concurrent Program which obtains InputStreams for the XML and XSL data, then calls the FOProcessor.  I am receiving the above noted error.  Here is the exerpt of the Java Code along with an excerpt of the .log file.  The .log file shows that InputStream data exists.  Any help is greatly appreciated.

Code:

            // Process Data Template to obtain Wage Notification XML.
            this.lfile.writeln("Processing Data Template to obtain Wage Notification XML...... : ", 1);
                
            DataTemplate localDataTemplate = new DataTemplate(paramCpContext, ApplShortName, TemplateName, true);
            ArrayList localArrayList = localDataTemplate.getParameters();
            localDataTemplate.setParameters(cpParameters);
            OutputStream osXML = new ByteArrayOutputStream();
            localDataTemplate.setOutput(osXML);
            localDataTemplate.processData();

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center