WebSphere Message Broker, Version 8.0.0.7
Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS
See information about the latest product version
See information about the latest product version
Testing a DFDL schema by parsing test input data
You can test-parse sample data against your DFDL message model by using the DFDL Test Perspective.
Before you start:
Create or open a DFDL schema file.You can use the DFDL Test Perspective to test-parse sample
data against your selected DFDL message, to verify that the DFDL schema
is correct.
- The DFDL Test Perspective opens, and the results of your test-parse are displayed in the DFDL Test - Parse view.
- You can view a log of parser actions in the DFDL Test - Trace view.
- You can view the logical instance in the DFDL Test - Logical Instance view, as a tree, or as XML.
Next:
- You can continue to edit your DFDL schema by using the DFDL schema editor.
- You can generate a structural preview of a message from your DFDL schema; see Testing a DFDL schema by creating a logical instance.
- You can test-serialize data from your DFDL schema, see Testing a DFDL schema by serializing test output data.
- You can change the following settings, and then test-parse again by clicking the Run
Parser button in the DFDL Test - Parse view.
- In the DFDL Test - Parse view, you can change the input data and encoding.
- In the Editor, you can select a different message to be test-parsed.
- If the DFDL schema is complete, you can add it to a broker archive (BAR) file for deployment; see Creating a broker archive.
Debugging
If an error occurs during parsing, the following resources
are available to help correct the model:
- An error message is displayed. The message summarizes the problem, and contains links to view the trace and partial logical instance that was created.
- The DFDL Test - Parse view shows the location of the error in the data. At the top of this view is a hyperlink that opens the DFDL Test - Trace view.
- The object in error is marked in the Editor.
- The DFDL Test - Logical Instance view shows the infoset parsed up to the error.