Agile (MOSC)

MOSC Banner

BI Publisher - Namespace prefix 'ref' used but not declared Error

I am writing a PX to use BI Publisher APIs to create a PDF document from a Word Template. The code is below.

FOProcessor processor = new FOProcessor();

processor.setData(data);

processor.setTemplate(getXSLTemplate(template, TEMP_OBJ_FILENAME));

processor.setOutputFormat(FOProcessor.FORMAT_PDF);

processor.setOutput(out);

processor.generate();

When I hit the last statement "processor.generate", I receive the error below. Any idea how I need to fix this?

org.xml.sax.SAXException: Namespace prefix 'ref' used but not declared.

oracle.xml.parser.v2.XPathException: Namespace prefix 'ref' used but not declared.

at oracle.xml.parser.v2.XSLBuilder.startElement(XSLBuilder.java:419)

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