Skip to content

Fix AdditionalItemProperty hydration and declare ext-libxml requirement - #172

Open
jpvdw86 wants to merge 4 commits into
num-num:masterfrom
jpvdw86:AdditionalItemProperty-fix
Open

Fix AdditionalItemProperty hydration and declare ext-libxml requirement#172
jpvdw86 wants to merge 4 commits into
num-num:masterfrom
jpvdw86:AdditionalItemProperty-fix

Conversation

@jpvdw86

@jpvdw86 jpvdw86 commented Apr 21, 2026

Copy link
Copy Markdown

This PR fixes an inconsistency in AdditionalItemProperty deserialization and makes a runtime dependency explicit.

Item::getAdditionalItemProperties() is documented as returning AdditionalItemProperty[], but during XML parsing it could return raw Sabre array structures instead of typed objects.
Root cause: cac:AdditionalItemProperty was missing from Reader::ubl() elementMap.
Additionally, the reader uses LIBXML_PARSEHUGE, but ext-libxml was not explicitly declared in composer.json.

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