--- title: "File inspectors" slug: "mod-ci--tab-1-inspectors" status: "update" updated: 2026-11-25T09:15:43Z published: 2026-11-25T09:15:43Z canonical: "docs.lobstersoftware.com/mod-ci--tab-1-inspectors" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # File inspectors File inspectors are called by the Content Inspector Manager to check whether a Content Inspector is responsible for a file or not. The following file inspectors are available. > [!NOTE] > **NOTE:** > > All available File Inspectors are defined in the configuration file `./etc/admin/datawizard/ci_handler.properties`. We provide a programming interface (API) that also allows you to develop your own classes in Java. For this, we offer in-depth training. If you are interested, please contact our support or sales staff. ## Accept all Files Inspector ![images/download/attachments/201674490/inspector_all_files-version-1-modificationdate-1748588661291-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/inspector_all_files-version-1-modificationdate-1748588661291-api-v2.png) Apart from the description (mandatory), no configuration is necessary here. All files (empty files also) are accepted by this File Inspector. ## Accept empty Files Inspector ![images/download/attachments/201674490/inspector_empty_files-version-1-modificationdate-1748588661293-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/inspector_empty_files-version-1-modificationdate-1748588661293-api-v2.png) Apart from the description (mandatory), no configuration is necessary here. Only empty files are accepted by this File Inspector. A file is also considered empty if it only consists of spaces. ## EDIFACT Inspector ![images/download/attachments/201674490/inspector_edifact-version-1-modificationdate-1748588661294-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/inspector_edifact-version-1-modificationdate-1748588661294-api-v2.png) The EDIFACT Inspector checks the EDIFACT message for specified values of, for example, sender, receiver, type, version, release, and organization. The wildcard `*` means that all values are allowed. All input fields can also contain regular expressions. Please use the prefix `regex:`. (1) **Sender:** You can also use placeholders for additional IDs from the partner administration (see [Additional IDs (central)](/v1/docs/en/manage-partners-keys)) (also applies to recipients). This allows you to generally configure the File Inspector. The specific values then come from the partner channels assigned to the Content Inspector. **Example**: `@partner:ILN@`. (2) **Release:** Several allowed releases can be specified, separated by a semicolon (`;`). **Example**: `96A`. (3) **USH segment:** Settings for signed EDIFACT. Selectable values are *Possible*, *No*, *Mandatory*. ## IDoc Inspector ![images/download/attachments/201674490/inspector_idoc-version-1-modificationdate-1748588661296-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/inspector_idoc-version-1-modificationdate-1748588661296-api-v2.png) The IDoc Inspector checks the fields of the IDoc header segment against the specified values. ## JSON Inspector ![images/download/attachments/201674490/inspector_json-version-1-modificationdate-1748588661296-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/inspector_json-version-1-modificationdate-1748588661296-api-v2.png) The JSON Inspector checks if the mandatory JSONPath expressions return a non-empty result. (1) **Mandatory:** Marks whether a JSONPath expression is mandatory. (2) **JPath:** The JSONPath expression that is applied to the JSON document. **NOTE:** See function [execute json xpath()](/v1/docs/en/basic-x-path-json) for an example to the JSONPath expression shown here. **Example:** `$.store.book[*].author` ## PDF Inspector ![images/download/attachments/201674490/inspector_pdf-version-1-modificationdate-1748588986882-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/inspector_pdf-version-1-modificationdate-1748588986882-api-v2.png) Apart from a description (mandatory), no configuration is necessary here. The PDF Inspector checks if this is a PDF file. ## Plain Text Inspector ![images/download/attachments/201674490/inspector_plain_text-version-1-modificationdate-1748588986885-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/inspector_plain_text-version-1-modificationdate-1748588986885-api-v2.png) The Plain Text Inspector checks the entire plain text file line by line to see if the defined rules apply. A new rule can be created via the context menu. (1) **Rule type:** There are three types of rules: *Is in message*, *Is start of message*, *Is end of message.* (2) **Condition:** Possible condition values are - *begins with* - *ends* *with* - *contains* - *equals* - *regex* (regular expression) (3) **Value:** The value to compare with. (4) **Start**, **End:** If > *0*, only the substring between these indices (starting with *1*) is compared during the line by line reading in of the data. **NOTE:** The start value must be smaller than the end value. The plain text file is read in line by line. The order in the list of rules is not relevant for the overall evaluation. If there are only rules of the type *Is in message*, the overall evaluation is *true* if one of these rules is *true*. If there is at least one rule of type *Is start of message*, one of these has to be *true* and there also has to be at least one rule of type *Is end of message*, which also has to be *true* for the overall evaluation to be *true*. Rules of type *Is in message* will be ignored. If there is at least one rule of type *Is end of message* and there is no rule of type *Is start of message*, at least one rule of type *Is end of message* has to be *true* for the overall evaluation to be *true*. Rules of type *Is in message* will be ignored. ## Regex Inspector *![images/download/attachments/201674490/inspector_regex-version-1-modificationdate-1748588986884-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/inspector_regex-version-1-modificationdate-1748588986884-api-v2.png)* A regular expression can be specified in this file inspector to check the entire file. **Example:** `^.*somekeyword.*` ## Tradacoms Inspector ![images/download/attachments/201674490/inspector_tradacoms-version-1-modificationdate-1748588986886-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/inspector_tradacoms-version-1-modificationdate-1748588986886-api-v2.png) (1) **Description:** Must be filled in as a mandatory field. All remaining field comparison values are optional. The wildcard `*` means that all values are allowed. ## X12 Inspector ![images/download/attachments/201674490/inspector_x12-version-1-modificationdate-1748588986887-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/inspector_x12-version-1-modificationdate-1748588986887-api-v2.png) (1) Key icon: You can also use placeholders for additional IDs from the partner administration (see [Additional IDs (central)](/v1/docs/en/manage-partners-keys)). This allows you to generally configure the file inspector. The specific values then come from the partner channels assigned to the Content Inspector. **Example:** `@partner:ILN@`. Apart from the description, all other field comparison values are optional. The wildcard `*` means that all values are allowed. ## XML Inspector ![images/download/attachments/201674490/inspector_xml-version-1-modificationdate-1748589032259-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/inspector_xml-version-1-modificationdate-1748589032259-api-v2.png) The XML Inspector checks if the mandatory XPath expressions produce subnodes. (1) **Mandatory:** Marks whether an XPath expression is mandatory. **NOTE:** One of these mandatory entries must at least be specified. (2) **XPath expression:** The XPath expression that is applied to the XML document. **Example:** `/ORDERS/ORDER`. ### Default namespaces This File Inspector uses XPath 1.0 and therefore cannot directly handle default namespaces (i.e. namespaces without a prefix). In the following example, a default namespace is defined in the `order` element: ```xml              Apples        Bananas       ``` The following XPath expression would not work here: | /orders/order/items/item[text()='Bananas'] | | --- | Instead, use the following expression or the XML V4 Inspector (see following section): | /*[local-name()='orders']/*[local-name()='order']/*[local-name()='items']/*[local-name()='item'][text()='Bananas'] | | --- | ## XML V4 Inspector ![images/download/attachments/201674490/inspector_xml_v4-version-1-modificationdate-1748589032257-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/inspector_xml_v4-version-1-modificationdate-1748589032257-api-v2.png) Needs the (separately licensed) XML V4 parser. Otherwise, has to be configured like the *XML Inspector* but, just like the XML V4 parser, is much faster.