Skip to content

Fix namespace prefix rendering on root element when specified as symbol#251

Merged
mvz merged 1 commit intomasterfrom
root-element-namespace
Oct 31, 2025
Merged

Fix namespace prefix rendering on root element when specified as symbol#251
mvz merged 1 commit intomasterfrom
root-element-namespace

Conversation

@mvz
Copy link
Copy Markdown
Owner

@mvz mvz commented Oct 31, 2025

This fixes an issue where a namespace specified as a symbol would not result in a prefix being rendered on the root element. This meant that parsing the xml generated by #to_xml would fail.

@mvz mvz force-pushed the root-element-namespace branch from ff2168a to d512e36 Compare October 31, 2025 15:07
By uniformly storing the model namespace as a string, we ensure that
looking up the namespace succeeds.
@mvz mvz force-pushed the root-element-namespace branch from d512e36 to e33b67f Compare October 31, 2025 15:09
@mvz mvz merged commit f607b54 into master Oct 31, 2025
7 checks passed
@mvz mvz deleted the root-element-namespace branch October 31, 2025 15:12
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