Why am I getting an error message "Error SheetException: missing root element" from treetoxml() function when referring to a input schema populated by a db reader?

Why am I getting an error message "Error SheetException: missing root element" from treetoxml() function when referring to a input schema populated by a db reader?

book

Article ID: KB0091415

calendar_today

Updated On:

Products Versions
TIBCO MessageBroker -
Not Applicable -

Description

Resolution:
XML specs require each document to have one root element defined that contains the entire document tree.
You need to add a schema property to the input data schema.  Double
click on an item in the schema to bring up to schema editor.  
Use edit, then select schema properites.  In the properties sheet, enter property name=class, property type=String and Property Value=Test.  This will create the root element that xml requires.

Issue/Introduction

Why am I getting an error message "Error SheetException: missing root element" from treetoxml() function when referring to a input schema populated by a db reader?

Environment

Product: TIBCO MessageBroker Version: 2.5.0 OS: All --------------------