Comments (7)
Hello,
your question looks a lot like this one from another person: #693
Please see the answer there as answering this here would almost end up in a duplicate answer.
from eforms-sdk.
Thanks for the answer.
My question is a bit more straight if I may.
Can you pls confirm the notice type 16.json and fields.json are 100% correct in SDK 1.8.0 and it's right the parent node for "BT-137-Lot" is the "ND-Lot" for a well formed concept model the SDK is looking for?
from eforms-sdk.
The fields.json of the SDK is the reference for the XML generation:
"id" : "BT-137-Lot",
"parentNodeId" : "ND-Lot",
If the notice type contradicts this in terms of ancestry then there is a problem somewhere in the notice type.
Some of these notice type problems may also depend on how the algorithm going from visual, conceptual and physical works (how tolerant the algorithm etc.).
In is not impossible that there could be a problem in the fields.json but this would be rare compared to problems in the notice types. The notice types have been improving gradually, often catching up with the updates done in the fields.json (new fields and nodes, REG NEXT, ...). The editor demo is that last thing to catch up as it needs most things provided by the SDK.
from eforms-sdk.
Is there any possible open-source code we could check in order to have a concrete ready-to-production example where understand the correct application of SDK principle? Would it be possible to inspect for instance enotices2 portal source code at https://enotices2.ted.europa.eu/home ?
from eforms-sdk.
The code of enotices2 will not be open sourced any time soon (as far as I understood).
I am looking into the editor demo between other tasks, I think it is not far from generating the desired XML. I managed to fix a problem in the mentioned branch, but it broke a unit test. More work is required there.
By the way SDK 1.9.0 was released.
from eforms-sdk.
Using SDK 1.9 and this branch of the editor demo: https://github.com/OP-TED/eforms-notice-editor/tree/feature/TEDEFO-2456-use-of-fields-attribute-information
With an empty form having 2 lots (LOT-0001 and LOT-0002) using notice sub type 16.
I obtain this XML:
16-physical.xml.txt
Now that SDK 1.9 was released, let me know what kind of XML you can generate using notice 16.
from eforms-sdk.
I worked on an old idea on how to improve the unit tests using xpath and found a problem which was not covered previously.
I fixed the problem in the branch and the new improved unit tests are passing now.
It is recommended you do a git pull
to get the latest version of the branch and try again.
from eforms-sdk.
Related Issues (20)
- Missing (german) translations in SDK 1.12 HOT 2
- Missing translations in subtype T02 HOT 2
- Strange NL translation for GR-Lot-ReviewOrg
- Getting validation error BR-OPT-00002-0052 when sending customization id with two digit after the dot, for ex "eforms-sdk-1.10" HOT 1
- missing publication information in pdf render API HOT 3
- CON-0001
- Missing fields using `Convert notice to the latest SDK version` on preview HOT 5
- Getting validation error when providing an Irish postal code
- TED Viewer - Sdk version 1.10 does not exist
- Joint procurement - Authority & Entity Activity when mixing contracting CA/CE parties HOT 1
- unused codes in non-publication-identifier
- Wrong rule texts in GR-LotResult-ReceivedSubmissions HOT 6
- Errors on empty fields (BT-5101(a)-Lot, BT-5071-Lot, BT-5141-Lot, BT-161-NoticeResult, BT-119-LotResult)
- BT-98 is impossible in form 19 HOT 1
- Amendments to extend Deadline Receipt Requests for expired DPS
- Receive XML via API, not frontend direct link
- Why is BT-630 mandatory in NTD-20/21? HOT 3
- incorrect label for rule BR-BT-00738-0053 HOT 5
- Vaildation fails if more than 6 digits are entered in field BT-36 HOT 2
- BT-01(c)-Procedure should be mandatory if BT-01(d)-Procedure was filled HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eforms-sdk.