What is Peach
Installing
Tutorials
Methodology
Introduction
Training
Enterprise
FAQ
Support Forums
Peach 3
Peach Pits
 General Conf
 Data Modeling
 State Modeling
 Agents
  Monitors
 Test
  Publishers
  Loggers
Running
Minset
Peach 2.3

License

Placement

The placement element tell the data cracker that specific elements should be moved after the input stream is parsed. This, combined with offset-of relation are the ways Peach supports handling files that contain references to elements by offset.

Note
Placement only works when data is being parsed into the DataModel via an input Action or a Data statement pointing to a file.
<DataModel name="TheDataModel">
  <Block name="Chunks">
    <Block name="ArrayOfChunks" maxOccurs="4">
      <Number size="8" signed="false">
        <Relation type="offset" of="Data"/>
      </Number>
      <String name="Data" length="6">
        <Placement after="Chunks"/>
      </String>
    </Block>
  </Block>
</DataModel>

Attributes

One of the following is required:

  • after — Element to move after

  • before — Element to move before

Valid Child-Elements

There are no valid child elements for Placement element.