ESPD / ESPD-Service

Other
18 stars 68 forks source link

XML Schema/XSD Validation issue in GITB Testbed #203

Open lotzmann opened 6 years ago

lotzmann commented 6 years ago

The GITB Testbed does not properly test for XML Schema/XSD errors for ESPD version 1.0.2. For example, the representation of criterion 57 as implemented in the attached example artefact (and mentioned in issue #202 ) passes the test, but should rather produce an XSD validation error like: cvc-complex-type.2.4.a: Invalid content was found starting with element 'ccv:RequirementGroup'. One of '{"urn:isa:names:specification:ubl:schema:xsd:CCV-CommonBasicComponents-1":FulfillmentIndicator, "urn:isa:names:specification:ubl:schema:xsd:CCV-CommonBasicComponents-1":FulfillmentIndicatorType, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":Name, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":Description, "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2":TypeCode, "urn:isa:names:specification:ubl:schema:xsd:CCV-CommonAggregateComponents-1":Requirement}' is expected.

espd-request.zip