You can create a logical instance
of messages that are modeled by your DFDL schemas by using the DFDL Test Perspective.
Before you start:
Create or open a DFDL schema file.
You can use the DFDL Test Perspective to generate a logical
instance from your selected DFDL schema. The data used to create the
logical instance comes from the "Sample Test Data" values in the schema.
- Open the DFDL schema that you want to test.
- Right-click the document root that you want to test, and
click Create a logical instance for the DFDL schema. A dialog is displayed that asks you whether you want to
open the DFDL Test Perspective.
- Click Yes. The DFDL Test Perspective opens, and your generated
sample message is displayed in the DFDL Test - Logical
Instance view.
- View your sample message as a logical tree by clicking
the Tree View tab, or view your sample message
as XML by clicking the XML view tab.