Skip to content
Discussion options

You must be logged in to vote

I think the problem here is when it does not find the xpath relative element using xpath search relative to the parent node, it will start looking for the XML element "ContractingSystem" and it will find an existing one (for the second item you create). Maybe there are cases for which this behavior is desired.

    "xpathRelative" : "cac:ContractingSystem/cbc:ContractingSystemTypeCode[@listName='framework-agreement']",
    "xsdSequenceOrder" : [ { "cac:ContractingSystem" : 29 }, { "cbc:ContractingSystemTypeCode" : 3 } ],

To fix this the logic could be that when you are trying to build the ContractingSystem element of the relative path, do not try to reuse the existing found elements and a…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@YvesJo
Comment options

@rengit62
Comment options

@YvesJo
Comment options

@rouschr
Comment options

Answer selected by rouschr
@rengit62
Comment options

@rouschr
Comment options

@rengit62
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
fields Related to field metadata (/fields/fields.json) xml generation Discussions on how to generate valid XML notice editor Related to the Notice Editor sample application schemas Related to eForms Schemas (/schemas SDK folder).
3 participants