Closed aosunacab closed 3 years ago
You use the IDE4ACanonicalEvidenceType for the supported CanonicalEvidences from EDE4ACanonicalEvidenceType. You can find an example of it being used in the mock link to it in the code
Sure, but the enum only contains:
T42_COMPANY_INFO_V04
T42_COMPANY_INFO_V05
Correct, because currently we only support the DBA XSDs in 2 different versions. Further canonical evidences will be added while we go. One of the pilot requirements was to have multiple versions of the XSD available in parallel
I understand. But we have a test scenario over BirthCertificate canonical evidence. it is not possible to add this evidence?
Of course it is possible. Where can we find the XSD?
There is nothing official yet, but could be useful to have it, maybe we can add a "temporary" XSD?
Sure. Where can I find the temporary XSDs? I can only include what I am aware of :)
hehe sure. It is in here: BirthCertificate.xsd Taking adventage of this, de4a-commons could be updated with last changes made by Daniel Castro.
Thanks a lot.
Do you know who is the author of this BirthCertificate XSD? I would have some change requests....
Myself, it's just a basic schema not going much further. although if you have any improvement or modification, no problem.
Okay, I made some changes to the XSD (extracted the type of the root element)
@aosunacab what pilot does this XSD belong to? E.g. DBA is for "4.2" - I'd like to keep this assignment in the code
I don´t really know, There is no official definition of it, I guess
I don't think it is a good idea to introduce an "arbitrary" format for testing. The DBA pilot XSD is simple enough, isn't it?
I think it is not a big deal keep a test scheme until an official definition comes. Anyway, it could be possible to update commons project with latest XSDs updates?
DBA 0.6 was added
I am in the middle of adding the T4.1-UC1 stuff, so I am leaving this open
Now the Studying Abroad stuff is contained (T4.1, UC1)
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.