/xXSDHub

Invalid XML character

XML 1.0 forbids most control characters, even when written as numeric references. Identify the original character in the source. Escape markup characters with the proper entity; escaping does not make a forbidden code point legal.

Replace or correctly encode forbidden characters

XML 1.0 forbids most control characters, even when written as numeric references. Identify the original character in the source. Escape markup characters with the proper entity; escaping does not make a forbidden code point legal.

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

PCDATA invalid Char value 1

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

An invalid XML character (Unicode: 0x1) was found in the element content of the document.

lxml 6.0.2 / libxml2 2.14.6

PCDATA invalid Char value 1

.NET 10.0.14 / System.Xml

'', hexadecimal value 0x01, is an invalid character. Line 1, position 4.

Before: fails

<r></r>
Open broken example →

After: passes

<r>ok</r>
Open corrected example →

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.