Exploring the schemas
The EDIFACT-D03B and EDIFACT-Common libraries are shown in the Application Development view of your workspace.
The EDIFACT-SupplyChain-Messages-D.03B.xsd DFDL schema in the EDIFACT-D03B library opens in the DFDL editor. If it does not open, double-click the DFDL schema to open it in the editor.
The Interchange message is highlighted and it models a whole EDIFACT interchange. The main editor view shows the logical components of the message, such as elements and sequences. You can explore the Interchange message structure by expanding the elements.
The physical rendering of each logical component is described by the DFDL properties in the Representation Properties tab. DFDL properties can be specified locally on the component, or can be inherited from pre-defined sets of DFDL properties. Inherited properties have an icon shown next to them, and hovering over the icon reveals where the property is defined. In this schema, inherited properties are obtained from schema IBM_EDI_Format.xsd in the EDIFACT-Common library.
Because the settings of delimiters in an EDIFACT interchange can vary, the DFDL properties Terminator, Separator, Escape Character and Decimal Separator are set dynamically using DFDL expressions that refer to DFDL variables. The variables have default values and are overridden by the settings in a UNA segment if present. You can see this if you expand the UNA element in Interchange, select any of the child elements, and click on the Variables tab next to Representation Properties.
You will be test parsing example EDIFACT data by using the Interchange message. The test parsing takes place entirely within the DFDL editor, so there is no message flow in this tutorial and no Deploy step. Before test parsing, switch to the DFDL Test perspective by clicking Window > Open Perspective and then clicking DFDL Test. (Alternatively, you can use the toolbar icon ).
Tip: If this Tutorial Steps View tab disappears when you switch perspectives, use the Window > Show View menu option to add it back.