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

XPaths in fields.json #27

Closed
fpoort opened this issue Jun 17, 2022 · 1 comment
Closed

XPaths in fields.json #27

fpoort opened this issue Jun 17, 2022 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@fpoort
Copy link

fpoort commented Jun 17, 2022

We are looking into a meta data driven implementation of eForms. We came across some fields which appear to be in a different location in the XSD then the fields.json says they should be.

Are we using the field.json in the wrong way?

I've added some examples below, which occur in noticesubtypes 23 & 24.

Field id: BT-46-Lot
Absolute Path: /*/cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cac:TenderingTerms/cac:AwardingTerms/cac:Prize/cac:TechnicalCommitteePerson/cbc:FamilyName
Actual Path in the XSD: /*/cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cac:TenderingTerms/cac:AwardingTerms/cac:TechnicalCommitteePerson/cbc:FamilyName

Field id: ND-334
Absolute Path: /*/cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cac:TenderingTerms/cac:AwardingTerms/cac:EconomicOperatorShortList
Actual Path in the XSD: /*/cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cac:TenderingTerms/cac:EconomicOperatorShortList
@fpoort fpoort changed the title ParentIds & XPaths in fields.json XPaths in fields.json Jun 17, 2022
@rousso rousso added the bug Something isn't working label Jun 20, 2022
@rousso
Copy link
Contributor

rousso commented Jun 20, 2022

Hi @fpoort,

Thank you for reporting this.

Indeed the information in the SDK is incorrect for these two fields.
The fix will be available in the next release of the SDK.
If you spot any other inconsistencies please report them and we will address them in the next release.

Regards,
Yannis

bertrand-lorentz added a commit that referenced this issue Jun 30, 2022
Change all node ids to be more recognizable.
Fix XPaths of 2 fields (issue #27).
Fix repeatability information, and adjust several relative XPaths.
@rousso rousso added this to the Version 0.7.0 milestone Jul 5, 2022
@rousso rousso closed this as completed Jul 5, 2022
chkuck pushed a commit to chkuck/eForms-SDK that referenced this issue Feb 2, 2023
Merge in TEDEFO/eforms-sdk from update-from-latest to develop

* commit 'b5c8ebb66b4c249287ede7c48f1cf8364ad1fec6':
  schematrons: Update rules for OPT-301
  schematrons: Update XPAth of BT-701-notice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants