---
title: "XSDPreparser"
slug: "xsd-preparser"
updated: 2026-09-09T13:56:37Z
published: 2026-09-09T13:56:37Z
canonical: "docs.lobstersoftware.com/xsd-preparser"
---
> ## 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.
# XSDPreparser
| **Class name** | com.ebd.hub.datawizard.parser.XSDPreparser |
| --- | --- |
## Description
This Preparser can validate an XML file with an XSD file.
The result is an XML file with a list (can be empty) of the errors found. See example below.
The preparser expects the path to a properties file that contains the path to the XSD file. Alternatively, the path to the XSD file can also be transferred from a predecessor profile in the variable "XSD_PATH".
**NOTE:** The variable must be named exactly like this in the predecessor profile, but must not be created in the successor profile.
## Parameters
| Parameter | Description |
| --- | --- |
| xsdPath | Path to XSD file. |
## Example
Path to properties file:
```
xsdPath=./conf/my.xsd
```
XSD file:
```
```
Input XML file:
```input
Writer
The First Book
Fiction
44.95
2000-10-01
An amazing story of nothing.
Poet
The Poet's First Poem
Poem
24.95
Least poetic poems.
```
Result of the preparser:
```xml
cvc-complex-type.2.4.a: Invalid content was found starting with element 'review'. One of '{pub_date}' is expected.
```
Optional intermediate phase before Phase 2. A preparser manipulates input data before the parser processes it; for example, to remove special characters or convert an unknown format to a supported one.
XML (Extensible Markup Language) is a structured text format for storing and exchanging data. Content is enclosed within freely definable tags such as `<order>`. XML is human-readable, machine-processable, and platform-independent. In the Lobster Data Platform, you can receive, parse, and generate XML data.