Skip to content

Issues with fields having similar relative xPaths. #445

Answered by rouschr
pankajgulia111 asked this question in Q&A
Discussion options

You must be logged in to vote

I had a look at this and after checking with a colleague I also think that for field relative xpath it should not try to reuse existing elements, it should just recreate the entire relative path.
By doing this as you said you would end up with valid XML.
I will later update the editor demo project to reflect this change, you can see it applied in this branch:
https://github.com/OP-TED/eforms-notice-editor/tree/feature/fix-xsd-path-loading

Replies: 3 comments 1 reply

Comment options

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

Comment options

You must be logged in to vote
0 replies
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
3 participants