Skip to content

efac:Nationality #442

Answered by rouschr
rengit62 asked this question in Q&A
May 5, 2023 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

You can see the details here for SDK 1.6:
https://github.com/OP-TED/eForms-SDK/blob/1.6.0/fields/fields.json
"ND-UBO" is repeatable
"BT-706-UBO" is repeatable (efac:Nationality/cbc:NationalityID)
The problem here is that efac:Nationality was made part of the field relative xpath.
In terms of rules on our side we meant that it can exist more than once in the XML.
But the field as an XML element is not really repeating inside of the parent element.

To solve this in 1.8 we will have a new node:
"ND-UBONationality" repeatable (efac:Nationality)
"BT-706-UBO" not repeatable (cbc:NationalityID)
This should solve XSD validation issues around field repeatability.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rengit62
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by YvesJo
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 notice editor Related to the Notice Editor sample application
2 participants