Supports prefixed XML roots in PINT A-NZ import#41
Open
AndriusAndrulevicius wants to merge 4 commits into
Open
Supports prefixed XML roots in PINT A-NZ import#41AndriusAndrulevicius wants to merge 4 commits into
AndriusAndrulevicius wants to merge 4 commits into
Conversation
Ensures invoice import correctly handles XML documents with namespace-prefixed root elements, improving robustness against varying XML structures. Adds targeted tests to verify parsing of both standard and namespace-prefixed root elements, reducing risk of import failures with valid documents.
Introduces two example invoice XML documents for PINT A-NZ with and without prefixed namespaces to support testing and validation scenarios. Enables broader coverage for namespace handling in invoice processing.
GMatuleviciute
approved these changes
Mar 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enhances the PINT A-NZ E-document import process to correctly parse XML documents where the root element includes a namespace prefix (e.g., ``). Previously, the parser assumed a non-prefixed root, leading to failures with such documents.
The solution modifies the
PINT A-NZ Importcodeunit to:Adds dedicated test cases to validate the parsing of both standard and namespace-prefixed root elements, confirming the improved robustness of the import logic.