File: error-parsing-dtd.rst

package info (click to toggle)
python-xsdata 24.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,936 kB
  • sloc: python: 29,257; xml: 404; makefile: 27; sh: 6
file content (9 lines) | stat: -rw-r--r-- 297 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
DTDParseError: error parsing DTD
================================

xsdata works only with **external** document type definitions
and relies on `lxml <https://lxml.de/>`_ exclusively to parse
the dtd tree.

Try to remove the `DOCTYPE` wrapper if you are sure the rest of
the definition is correct.