Skip to content
Discussion options

You must be logged in to vote

You are guessing correctly.
We have seen this problem in another discussion.
Here the problem is with the code trying to reuse existing XML elements which is OK in other cases,
For the moment the logic would be to say that if the field is not repeatable (in fields.json): recreate the entire absolute xpath element chain.

    "xpathRelative" : "cac:ContractingPartyType/cbc:PartyTypeCode[@listName='buyer-contracting-type']",

If you cannot find it using the xpath:

"cac:ContractingPartyType/cbc:PartyTypeCode[@listName='buyer-contracting-type']"

Then create a new "cac:ContractingPartyType" and "cbc:PartyTypeCode" inside of it.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rouschr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
xml generation Discussions on how to generate valid XML validation Related to notice validation.
2 participants