Skip to content

fix: Missing XML list attributes on array of elements#12

Merged
qdequippe merged 1 commit intomainfrom
fix/xml-list-missing
Mar 11, 2026
Merged

fix: Missing XML list attributes on array of elements#12
qdequippe merged 1 commit intomainfrom
fix/xml-list-missing

Conversation

@qdequippe
Copy link
Copy Markdown
Collaborator

This pull request enhances serialization and XML mapping for several entity classes by adding JMS Serializer annotations. The changes ensure that array properties are properly typed and mapped as XML lists, improving data consistency and interoperability.

Improvements to serialization and XML mapping:

  • Added Type and XmlList annotations to array properties in AcknowledgementDocumentType, including reasonInformation, processCondition, and status, to ensure correct serialization and XML structure. [1] [2] [3]
  • Enhanced DocumentCharacteristicType by specifying array types and XML list entries for name, description, and value properties. [1] [2] [3]
  • Improved DocumentStatusType by adding Type and XmlList annotations to array properties such as reason, condition, processCondition, reasonInformation, reasonClassification, requestedAction, includedNote, and specifiedDocumentCharacteristic. [1] [2] [3] [4] [5] [6] [7] [8]
  • Updated ExchangedDocumentType to annotate the includedNote array property for accurate serialization and XML mapping.
  • Added serialization and XML list annotations to the content property in NoteType for proper handling of array data.

These changes collectively improve the reliability and clarity of data serialization and XML output for the affected entity classes.

@qdequippe qdequippe self-assigned this Mar 11, 2026
@qdequippe qdequippe added the bug Something isn't working label Mar 11, 2026
@qdequippe qdequippe merged commit d278a83 into main Mar 11, 2026
6 checks passed
@qdequippe qdequippe deleted the fix/xml-list-missing branch March 11, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant