de4a-eu / de4a-commons Goto Github PK
View Code? Open in Web Editor NEWDE4A WP5 Shared software components
License: Apache License 2.0
DE4A WP5 Shared software components
License: Apache License 2.0
I would like to pose a situation using JAXB conversion throught the marshaller:
DE4AMarshaller <ResponseTransferEvidenceType> drImResponseMarshaller ( final IDE4ACanonicalEvidenceType aCanonicalEvidenceType)
At this point you supose to give an EDE4ACanonicalEvidenceType
as parameter, which define:
So far, it should be any correlation between EDE4ACanonicalEvidenceType
and EvidenceTypeIdType
, because when Connector is handling the ResponseTransferEvidenceType
with any canonical evidence inside, you should choose the rigth EDE4ACanonicalEvidenceType
regarding the EvidenceTypeIdType requested, otherwhise you couldn´t transform correctly the object with de marshaller mentioned.
In fact, if canonical evidences XSDs are needed to transform objects within Connector, it will depends of them to make it rigth, I mean that Connector, regarding this situation, will be bound into canonical evidences XSDs modifications.
Sorry in advance if I missed something.
Thanks.
Based on de4a-eu/xml-schemas#26
Currently the error list type used for validation, comes from com.helger.commons.error.list.ErrorList
, but should comes from eu.de4a.iem.jaxb.common.types.ErrorListType
It is the type generated for this purpose, I guess
I am having severals issues integrating last version of de4-commons on Connector. Since library commons from com.helger packge was replace by com.helger.commons package, there are been raising many conflicts and problems, because in one hand toop-connector is using commons library from com.helger package, on the other hand, last changes on de4a-commons is using a new commons library from com.helger.commons package, so there are conflictive and duplicate classes.
Toop-connector -> ph-commons v9.5.4 (com.helger package) Ref. pom
de4a-commons -> ph-commons v10.0.0 (com.helger.commons package) Ref. pom
Thanks
Due to last update of schemes:
de4a-eu/xml-schemas@f41dd80
commons project has to be update to hold latest changes.
1. Copy toop-commons-ng and toop-edm in here
2. Rename to "de4a-commons*"
3. Remove the unused parts:
3.1. Remove Schematrons
3.2. Remove RegRep?
3.3. Remove Concept handling stuff
4. Change package names to eu.de4a.*
5. Move the TOOP XSDs to folder "toop/"
6. Add the DE4A specific XSDs to src/main/resources
7. Add unit tests to read example files (DR1_....xml)
8. Start creating the Pojo-classes for the DE4A Evidence data model
de4a-commons project should be align with xml-schemas.
There are some updates on XSDs that must be reflected on de4a-commons project.
Thanks.
Please can you publish the v0.2.2 on maven repository based on the changes of the commit bb31aae?
Only v0.6 is needed atm, according to WP3
Hi,
I am trying to use unmarshaller:
eu.de4a.iem.xml.de4a.DE4AMarshaller.doImResponseMarshaller(aCanonicalEvidenceType)
In order to make conversions with ResponseExtractEvidenceType
. My problem is, IDE4ACanonicalEvidenceType
rigth now it is not populated with the canonical evidences, so it is not possible to make conversions because, even if you reimplement the marshaller with external canonical evidence XSD, JAXB does not maintains referenced classes on his context, so it throw an error.
At this point, I have two questions:
I assume that canonical evidences XSDs should be on XML-schemas project and it turn JAXB objects, factory objects, classes on context. Also update the de4a-commons project with last updates of XSDs on XML-schemas
¿There is any work around, to use thoose marshaller utils, until canonical evidences schemes and JAXB objects are on the project?
Sorry in advance if I am missing something.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.