The following error is thrown when TIBCO BusinessConnect™ receives a RosettaNet message from a trading partner. “Parsing error: in document System ID:file:///data/tibco/tibco/bc/5.2/The root element type must appear after”

The following error is thrown when TIBCO BusinessConnect™ receives a RosettaNet message from a trading partner. “Parsing error: in document System ID:file:///data/tibco/tibco/bc/5.2/The root element type must appear after”

book

Article ID: KB0084703

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect RosettaNet Protocol -
Not Applicable -

Description

Resolution:
Description:
============
TIBCO BusinessConnect™ fails to receive an incoming RosettaNet message from a trading partner and throws the error, “Parsing error: in document System ID:file:///data/tibco/tibco/bc/5.2/The root element type must appear after”. When checking the incoming RosettaNet message, the following is found:

***
<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<!DOCTYPE @encoding SYSTEM "3A4_MS_V02_00_PurchaseOrderRequest.dtd">
***

Normally, BC can accept the following format:

***
<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<!DOCTYPE Pip3A4PurchaseOrderRequest SYSTEM "3A4_MS_V02_00_PurchaseOrderRequest.dtd">
***


Environment:
============
TIBCO BusinessConnect™ 5.2.1 or above
TIBCO BusinessConnect™ RosettaNet Protocol 5.2.0



Resolution:
===========
Have your trading partner either:

1). Modify the @encoding to Pip3A4PurchaseOrderRequest after DOCTYPE;

2).  Completely remove the DOCTYPE declaration statement in the payload.

Issue/Introduction

The following error is thrown when TIBCO BusinessConnect™ receives a RosettaNet message from a trading partner. “Parsing error: in document System ID:file:///data/tibco/tibco/bc/5.2/The root element type must appear after”