Skip to content

fix: add collection: true to mixed content attributes - #1

Merged
ronaldtse merged 1 commit into
mainfrom
fix/mixed-content-collection
Apr 21, 2026
Merged

fix: add collection: true to mixed content attributes#1
ronaldtse merged 1 commit into
mainfrom
fix/mixed-content-collection

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Summary

  • Add collection: true to 58 xhtml model classes that use mixed_content + map_content without collection on the content attribute
  • Required by lutaml-model's MixedContentCollectionError validation
  • Update test expectations to expect arrays instead of strings for content attributes
  • Run rubocop -A --auto-gen-config to update rubocop todo

Test plan

  • CI passes across all Ruby versions

@ronaldtse
ronaldtse merged commit 1f508f7 into main Apr 21, 2026
14 checks passed
@ronaldtse
ronaldtse deleted the fix/mixed-content-collection branch April 21, 2026 02:21
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