/xXSDHub

Document is empty

An empty response, whitespace-only file or failed download has no root element. Verify the source response and export process. Do not manufacture an arbitrary root when the receiving application expects a specific document.

Supply an actual XML document

An empty response, whitespace-only file or failed download has no root element. Verify the source response and export process. Do not manufacture an arbitrary root when the receiving application expects a specific document.

Reproduced engine diagnostics and complete fixes

Original minimal examples checked on 2 November 2026. Engine wording differs; follow the cause, not a message alone.

libxml2-wasm 0.7.2

Add an XML document to get started.

Xerces2-J 2.12.2 / Temurin Java 21.0.13+9-LTS

Premature end of file.

lxml 6.0.2 / libxml2 2.14.6

Document is empty

.NET 10.0.14 / System.Xml

Root element is missing.

Repeat this check in your workflow

API, Python CLI and GitHub Actions starter are available for automation. The public API is early access; paid CI authentication and SLA are not offered. Pro: US$19/month, 25-file batches and 10 saved schemas. Team: US$49/month, 100-file batches, 100 schemas and five seats.