Skip to content

Enable entity resolution in the voko tests - #91

Merged
tefra merged 1 commit into
mainfrom
voko-resolve-entities
Oct 16, 2026
Merged

tefra merged 1 commit into
mainfrom
voko-resolve-entities

Conversation

@tefra

@tefra tefra commented Oct 16, 2026

Copy link
Copy Markdown
Owner

tefra/xsdata#1228 made ParserConfig.resolve_entities default to False. The voko test only set load_dtd, so the external DTD loaded but its entities weren't expanded, and text such as <trd lng="ca">&agrave;bac</trd> serialized as <trd lng="ca"/>.

This turns on resolve_entities in voko/test_bindings.py. The output matches the committed voko/output/abak.xml again.

@tefra
tefra merged commit 0365fce into main Oct 16, 2026
100 checks passed
@tefra
tefra deleted the voko-resolve-entities branch October 16, 2026 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant