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

[BUG] accept valid xml files with prefix <aas #41

Open
BirgitBoss opened this issue Jul 18, 2024 · 2 comments
Open

[BUG] accept valid xml files with prefix <aas #41

BirgitBoss opened this issue Jul 18, 2024 · 2 comments
Labels
File Issues related to File (AASX, JSON, Xml) validation

Comments

@BirgitBoss
Copy link

BirgitBoss commented Jul 18, 2024

It seems the validation tool is not able to deal with all files that would be valid.

See for example:

eclipse-esmf/esmf-sdk#603, my comment: eclipse-esmf/esmf-sdk#603 (comment):

"To me it seems the validation tool cannot deal with <aas: prefix

The second issue are the first wo lines:
<?xml version='1.0' encoding='UTF-8'?> <environment xmlns:aas="https://admin-shell.io/aas/3/0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://admin-shell.io/aas/3/0 AAS.xsd">

seems they must be converted to

<environment xmlns="https://admin-shell.io/aas/3/0">"

Note: these files are generated like this by [aas4j](https://github.com/eclipse-aas4j/aas4j

@juileetikekar juileetikekar added the File Issues related to File (AASX, JSON, Xml) validation label Jul 18, 2024
@BirgitBoss BirgitBoss changed the title [BUG] accept valid xml files with pref <aas [BUG] accept valid xml files with prefix <aas Jul 19, 2024
@otto-ifak
Copy link
Collaborator

I will have a look at it, maybe it is a problem of the underlying XML parser.

@otto-ifak
Copy link
Collaborator

@BirgitBoss I guess we discuss the file Aspect3.ttl.aas_corrected.xml from the attached gen.zip? There are multiple issues with this file. For example Constraint_AASd-131 does not hold.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
File Issues related to File (AASX, JSON, Xml) validation
Projects
None yet
Development

No branches or pull requests

3 participants