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

Mismatch of data specification information and used template are not recognized #1

Open
BirgitBoss opened this issue Oct 19, 2023 · 2 comments
Labels

Comments

@BirgitBoss
Copy link

Context: Testtools Version: 0.1

I just certified a test file and the test was successful. However, the file is not really conformant to the specification (only to the xsd schema)

This would be correct:
<embeddedDataSpecifications> <embeddedDataSpecification> <dataSpecification> <type>ExternalReference</type> <keys> <key> <type>GlobalReference</type> <value>https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0</value> </key> </keys> </dataSpecification> <dataSpecificationContent> <dataSpecificationIec61360>

This is incorrect:
embeddedDataSpecifications> <embeddedDataSpecification> <dataSpecification> <type>ExternalReference</type> <keys> <key> <type>GlobalReference</type> <value>Optional[urn:samm:io.catenax.batch:2.0.0#catenaXId]</value> </key> </keys> </dataSpecification> <dataSpecificationContent> <dataSpecificationIec61360>

Data Specification IEC 61360 (dataSpecificationIec61360) can only be used in the embedded part if the dataSpecification reference value is equal to "https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIec61360/3/0"

@otto-ifak
Copy link
Collaborator

@BirgitBoss Thank you for reporting this. Do you have a small xml or aasx file to reproduce this issue?

@BirgitBoss
Copy link
Author

BirgitBoss commented Oct 26, 2023

Batch-aas;5.xml.txt
rename it to .xml (xml not supported in issue-tracker

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

No branches or pull requests

2 participants