Hi,
I need to control a xml with a XSD, i use the XMLBindFileService with SCHEMA(*YES). I got an error in the XML but LI does not found any fault.
In attachment, the xml (FluxXM_cb70b3bc-1715-4f2a-80f8-6a68790cfeeb.XML.DOC) that needs to be controle and the xsd (Controle_CLC_xml.xsd.doc) to made control.
In the xml, the error is :
<urn1:Prenom_Altere>FABIEN</urn1:Prenom_Altere>
Validation XML with XSD
- Fabrice.geay
- Posts: 21
- Joined: Tue Dec 12, 2017 2:06 am
- Location: FRANCE
- Contact:
Validation XML with XSD
- Attachments
-
- Controle_CLC_xml.xsd.doc
- (26.57 KiB) Downloaded 827 times
-
- FluxXM_cb70b3bc-1715-4f2a-80f8-6a68790cfeeb.XML.DOC
- (9.62 KiB) Downloaded 753 times
Best regard
Fabrice GEAY
Fabrice GEAY
- Fabrice.geay
- Posts: 21
- Joined: Tue Dec 12, 2017 2:06 am
- Location: FRANCE
- Contact:
Re: Validation XML with XSD
If I use JAVA and not LANSA INTEGRATOR, i have the exception :
Exception: cvc-complex-type.2.4.a: Invalid content was found starting with element '{"urn:amc:med":Prenom_Altere}'. One of '{"urn:amc:med":Prenom}' is expected.
Exception: cvc-complex-type.2.4.a: Invalid content was found starting with element '{"urn:amc:med":Prenom_Altere}'. One of '{"urn:amc:med":Prenom}' is expected.
Best regard
Fabrice GEAY
Fabrice GEAY