Guides

Inspect XML without resolving external entities

Follow these steps using a local file and keep the original.

Inspect XML without resolving external entities
Actual local tool workspace with a synthetic sample.

Prepare the example

Create disposable test input with the exact content below (UTF-8 text unless marked hex). For duplicate filenames, save the two files in separate folders.

dtd.xml
<!DOCTYPE root [<!ENTITY x "example">]><root>&x;</root>

Use a test XML file declaring a harmless internal entity in a DOCTYPE.

Run the workflow

  1. Open the related tool below and load the prepared file(s).
  2. The converter refuses DTD/entity declarations before parsing the XML tree.

Verified example result

This example was reproduced in Chrome on 2026-12-04 using FileTypeKit 0.9.0 and synthetic data. The expected result or expected refusal was checked; this does not establish support for every real file.

The downloaded output was checked against the expected properties below.

Observed status: DTD and entities are not supported

Limitations and what to verify

Use an explicitly configured trusted XML processor when DTD processing is genuinely required.

Open related tool