Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UBL-SR-22 checking for wrong XPath #410

Open
AndreasPvd opened this issue Dec 5, 2024 · 3 comments
Open

UBL-SR-22 checking for wrong XPath #410

AndreasPvd opened this issue Dec 5, 2024 · 3 comments

Comments

@AndreasPvd
Copy link
Contributor

BT-62 is in cac:TaxRepresentativeParty/cac:PartyName/cbc:Name and not in cac:TaxRepresentativeParty/cac:Party/cac:PartyName/cbc:Name . This party is different to the others.

@MartinForsberg-Ecru
Copy link

That's actually by design. Same for PayeeParty

@AndreasPvd
Copy link
Contributor Author

AndreasPvd commented Dec 5, 2024

I know. But the test is looking for the wrong path. The test is looking for Party/PartyName. This is wrong as you wrote.

@MartinForsberg-Ecru
Copy link

Ah, you are right.

@phax phax added the Format UBL label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants