Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML Schema/XSD Validation issue in GITB Testbed #203

Open
lotzmann opened this issue Mar 26, 2018 · 0 comments
Open

XML Schema/XSD Validation issue in GITB Testbed #203

lotzmann opened this issue Mar 26, 2018 · 0 comments

Comments

@lotzmann
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant